学员端小程序
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.

37 lines
714 B

1 year ago
  1. import App from './App'
  2. import Vue from 'vue'
  3. import store from './store';
  4. // import config from "./utils/config.js"
  5. // import {storage, goPage} from "./utils/utils.js"
  6. // Vue.prototype.$config = config;
  7. // Vue.prototype.$goPage = goPage;
  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. import tabBar from "components/UserTab/UserTab.vue"
  15. Vue.component('tabBar',tabBar)
  16. const app = new Vue({
  17. ...App,
  18. store
  19. })
  20. require('./config/request.js')(app)
  21. import utils from "@/common/js/utils.js"
  22. console.log(utils)
  23. // 自定义工具
  24. Vue.use(utils,app)
  25. app.$mount()