import Vue from 'vue' import App from './App' import moment from 'moment' // import update from './common/update.js'; //import store from './common/store.js'; import store from './store'; import {webSockRe,heartBeat,connectSocketInit} from './common/sockRequest.js' Vue.prototype.$webSockRe = webSockRe Vue.prototype.$heartBeat = heartBeat Vue.prototype.$connectSocketInit = connectSocketInit // Vue.prototype.$update = update Vue.prototype.$store = store import date from './common/date.js' Vue.prototype.getDate = date.getDate Vue.prototype.getMonday = date.getMonday Vue.prototype.getMonth = date.getMonth Vue.prototype.getYear = date.getYear Vue.prototype.num = date.num Vue.prototype.reparam = date.reparam Vue.prototype.getDistance = date.getDistance // Vue.use(uView); // Vue.prototype.$appupdate = appupdate Vue.prototype.$moment = moment moment.locale('zh-cn') Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ ...App }) app.$mount()