Can't shared data updates in wepy multi-page components be Synchronize like vue.set?

Model
globalData= {"data": 1}

vue.set in the component of vue (Model.globalData, "data", 2), all panels will be updated.
but the $apply () method provided in wepy has been tried, and it will only be updated in the current component. It is too troublesome to call $apply (), again elsewhere, because the project is not too big and I don"t want to redux any more. Is there a processing method like vue.set

Mar.02,2021
  • Source map of wepy

    how to configure wepy source map will not be generated in the JS file I don t want something in the red box as shown in the picture ...

    May.15,2022
Menu