import Vue from 'vue' import App from './App' import store from './store' import uView from "uview-ui" Vue.use(uView) Vue.config.productionTip = false Vue.prototype.$store = store App.mpType = 'app' /* * 打电话 */ Vue.prototype.callPhone = function (phone) { uni.makePhoneCall({ phoneNumber: phone }); } const app = new Vue({ store, ...App }) app.$mount()