MrShi
昨天 39fc2d6754953e41a7334a2166347baacfcfb40a
h5/main.js
@@ -6,6 +6,8 @@
import store from './store/index.js'
import Tabbar from '@/components/tarbar.vue'
import navigation from '@/components/Header.vue'
// import Vconsole from 'vconsole'
// let vConsole = new Vconsole();
Vue.config.productionTip = false
@@ -16,7 +18,7 @@
Vue.component('navigation', navigation)
Vue.prototype.$store = store
Vue.prototype.$jump = (url) => {uni.navigateTo({url})}
Vue.prototype.$goBack = () => { uni.navigateBack() }
Vue.prototype.$goBack = () => { setTimeout(() => {uni.navigateBack()},300) }
Vue.prototype.showToast = (str) => {
   setTimeout(() => {
      uni.showToast({