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.
36 lines
609 B
36 lines
609 B
import App from './App'
|
|
import Vue from 'vue'
|
|
import store from './store';
|
|
|
|
import { goPage } from './common/js/uniExport.js'
|
|
Vue.prototype.$goPage = goPage;
|
|
|
|
import mixin from "./common/js/mixins.js"
|
|
Vue.mixin(mixin)
|
|
|
|
import './uni.promisify.adaptor'
|
|
Vue.config.productionTip = false
|
|
App.mpType = 'app'
|
|
|
|
// main.js,注意要在use方法之后执行
|
|
import uView from '@/uni_modules/uview-ui'
|
|
Vue.use(uView)
|
|
|
|
|
|
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()
|
|
|
|
|