jiangping
2024-08-27 3a992a2be8c1cc815719ac76cd7242dd7a2f7c2d
h5/main.js
@@ -17,6 +17,13 @@
Vue.prototype.$store = store
Vue.prototype.$jump = (url) => {uni.navigateTo({url})}
Vue.prototype.$goBack = () => { uni.navigateBack() }
Vue.prototype.showToast = (str) => {
   uni.showToast({
     title: str,
     icon: 'none',
     duration: 2000
   })
}
Vue.prototype.$eventBus = new Vue()
Vue.prototype.$onWait = new Promise((resolve) => {
  Vue.prototype.$reslove = resolve