jiangping
2024-05-31 7b3b1cb76452258c3b554b6364ef5d50ed34542c
h5/main.js
@@ -17,7 +17,13 @@
Vue.use(uView)
Vue.component('Tabbar', Tabbar)
Vue.component('navigation', navigation)
Vue.prototype.$store = store;
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
})
@@ -25,7 +31,7 @@
const app = new Vue({
   store,
  store,
  ...App
})