学员端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
714 B

import App from './App'
import Vue from 'vue'
import store from './store';
// import config from "./utils/config.js"
// import {storage, goPage} from "./utils/utils.js"
// Vue.prototype.$config = config;
// Vue.prototype.$goPage = goPage;
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
// main.js,注意要在use方法之后执行
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
import tabBar from "components/UserTab/UserTab.vue"
Vue.component('tabBar',tabBar)
const app = new Vue({
...App,
store
})
require('./config/request.js')(app)
import utils from "@/common/js/utils.js"
console.log(utils)
// 自定义工具
Vue.use(utils,app)
app.$mount()