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'; import VueClipboard from 'vue-clipboard2' import Vconsole from 'vconsole' let vConsole = new Vconsole() Vue.use(vConsole) Vue.use(VueClipboard); 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()