ll
liukangdong
2024-08-27 f3bd5baa8eb4eb7a896f7312a2e9a7c89a46cef5
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