| | |
| | | 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 |
| | | |
| | |
| | | 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({ |