main.js 377 B

1234567891011121314151617181920
  1. import App from './App'
  2. import Vue from 'vue'
  3. import { parseTime, numberFormat, toIndex } from "@/utils/util";
  4. import uView from "uview-ui";
  5. Vue.use(uView);
  6. Vue.prototype.$parseTime = parseTime
  7. Vue.prototype.$toIndex = toIndex
  8. Vue.prototype.$numberFormat = numberFormat
  9. Vue.config.productionTip = false
  10. App.mpType = 'app'
  11. const app = new Vue({
  12. ...App
  13. })
  14. app.$mount()