驾考受理查询支付宝小程序、网页
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.

30 lines
567 B

6 months ago
  1. import App from './App'
  2. // #ifndef VUE3
  3. import Vue from 'vue'
  4. import './uni.promisify.adaptor'
  5. Vue.config.productionTip = false
  6. App.mpType = 'app'
  7. import store from '@/store/store.js'
  8. // Vue.prototype.VITE_GLOB_API = 'http://h5.xzaiyp.top/h5-api-y'//开发环境
  9. Vue.prototype.VITE_GLOB_API = 'https://fill-admin.xzaiyp.top/h5-api-y'//生产环境
  10. const app = new Vue({
  11. ...App,
  12. store
  13. })
  14. app.$mount()
  15. // #endif
  16. // #ifdef VUE3
  17. import { createSSRApp } from 'vue'
  18. export function createApp() {
  19. const app = createSSRApp(App)
  20. return {
  21. app
  22. }
  23. }
  24. // #endif