import App from './App' import Vue from 'vue' import './uni.promisify.adaptor' import uView from "uview-ui"; // #ifdef H5 // 提交前需要注释 本地调试使用 使用vconsole // const vconsole = require('vconsole') // Vue.prototype.$vconsole = new vconsole() // #endif import api from './common/js/api' import env from './common/js/env.js'; Vue.prototype.$phonePattern = env.baseUrl; Vue.prototype.$baseUrl = '^1[3-9][0-9]\\d{8}$'; Vue.prototype.$api = api; Vue.use(uView); Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ ...App }) app.$mount()