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 })