2022-11-15 10:03:13 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
import App from './App';
|
|
|
|
import store from './store'
|
|
|
|
Vue.prototype.$store = store
|
|
|
|
|
|
|
|
import nothingPage from './components/nothing/nothing-page.vue';//引入无内容组件
|
|
|
|
Vue.component('nothing-page',nothingPage);//全局注册无内容组件
|
|
|
|
|
|
|
|
import statusNav from './components/status-nav/status-nav.vue'; //引入头部组件
|
|
|
|
Vue.component('status-nav',statusNav);//全局注册头部组件
|
|
|
|
|
|
|
|
|
|
|
|
// 常用便捷式公共方法
|
|
|
|
import tools from '@/jsFile/tools.js';
|
|
|
|
Vue.prototype.$toolAll = tools;
|
|
|
|
|
|
|
|
// 响应数据
|
|
|
|
import requst from '@/jsFile/requst.js';
|
|
|
|
Vue.prototype.$requst = requst;
|
|
|
|
|
|
|
|
//公共域名
|
|
|
|
Vue.prototype.$hostHttp = 'https://building.scdxtc.cn';
|
|
|
|
|
|
|
|
//不显示console.log
|
2022-11-21 08:03:37 +00:00
|
|
|
// if (uni.getSystemInfoSync().platform !== "devtools") {
|
|
|
|
// console.log = () => {}
|
|
|
|
// }
|
2022-11-15 10:03:13 +00:00
|
|
|
|
|
|
|
App.mpType = 'app';
|
|
|
|
|
|
|
|
const app = new Vue({
|
|
|
|
store,
|
|
|
|
...App
|
|
|
|
})
|
|
|
|
|
|
|
|
app.$mount()
|