main.js 339 B

12345678910111213141516
  1. import App from './App'
  2. import Vue from 'vue'
  3. import './uni.promisify.adaptor'
  4. import uView from "uview-ui";
  5. import api from './common/js/api'
  6. Vue.prototype.$api = api;
  7. Vue.prototype.$phonePattern = '^1[3-9][0-9]\\d{8}$';
  8. Vue.use(uView);
  9. Vue.config.productionTip = false
  10. App.mpType = 'app'
  11. const app = new Vue({
  12. ...App
  13. })
  14. app.$mount()