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.
|
|
import App from './App' import Vue from 'vue' import store from './store';
import { goPage } from './common/js/uniExport.js' 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)
import mixin from "./common/js/mixins.js" Vue.mixin(mixin)
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()
|