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.
34 lines
796 B
34 lines
796 B
1 year ago
|
import Vue from 'vue';
|
||
|
import App from './App';
|
||
|
import uView from '@/uni_modules/uview-ui'
|
||
|
Vue.use(uView)
|
||
|
// 导入并挂载全局的分享方法
|
||
|
import path from './static/path.js'
|
||
|
Vue.mixin(path)
|
||
|
// 弹出框
|
||
|
import DialogBox from './components/DialogBox/DialogBox';
|
||
|
|
||
|
|
||
|
Vue.config.productionTip = false
|
||
|
|
||
|
// 全局组件
|
||
|
Vue.component('DialogBox', DialogBox);
|
||
|
//mescroll
|
||
|
import MescrollBody from "@/components/mescroll-uni/mescroll-body.vue"
|
||
|
import MescrollUni from "@/components/mescroll-uni/mescroll-uni.vue"
|
||
|
Vue.component('mescroll-body', MescrollBody)
|
||
|
Vue.component('mescroll-uni', MescrollUni)
|
||
|
|
||
|
App.mpType = 'app'
|
||
|
|
||
|
const app = new Vue({
|
||
|
...App
|
||
|
})
|
||
|
import {
|
||
|
baseUrl
|
||
|
} from '@/common/config.js'
|
||
|
|
||
|
Vue.prototype.baseUrl = baseUrl
|
||
|
require('@/common/http.interceptor.js')(app)
|
||
|
app.$mount()
|