洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
609 B

10 months ago
  1. import App from './App'
  2. import Vue from 'vue'
  3. import store from './store';
  4. import { goPage } from './common/js/uniExport.js'
  5. Vue.prototype.$goPage = goPage;
  6. import mixin from "./common/js/mixins.js"
  7. Vue.mixin(mixin)
  8. import './uni.promisify.adaptor'
  9. Vue.config.productionTip = false
  10. App.mpType = 'app'
  11. // main.js,注意要在use方法之后执行
  12. import uView from '@/uni_modules/uview-ui'
  13. Vue.use(uView)
  14. const app = new Vue({
  15. ...App,
  16. store
  17. })
  18. require('./config/request.js')(app)
  19. import utils from "@/common/js/utils.js"
  20. console.log(utils)
  21. // 自定义工具
  22. Vue.use(utils,app)
  23. app.$mount()