liukangdong
2024-05-21 1d346f4abf68c7f7db5e4810a5db3bb5df93bcf2
h5/main.js
@@ -18,6 +18,12 @@
Vue.component('Tabbar', Tabbar)
Vue.component('navigation', navigation)
Vue.prototype.$store = store
Vue.prototype.$jump = (url) => {
   uni.navigateTo({
      url
   })
}
Vue.prototype.$goBack = () => { uni.navigateBack() }
Vue.prototype.$onWait = new Promise((resolve) => {
  Vue.prototype.$reslove = resolve
})