记录模块接口对接
This commit is contained in:
21
main.js
21
main.js
@@ -1,18 +1,25 @@
|
||||
/*
|
||||
* @Description:
|
||||
* @Author: Aimee·Zhang
|
||||
* @Date: 2022-01-05 09:01:12
|
||||
* @LastEditors: Aimee·Zhang
|
||||
* @LastEditTime: 2022-01-12 16:35:13
|
||||
*/
|
||||
import App from './App'
|
||||
|
||||
// #ifndef VUE3
|
||||
import Vue from 'vue'
|
||||
import store from './store'
|
||||
import uView from 'uview-ui';
|
||||
import {router, RouterMount} from 'router'
|
||||
import { router, RouterMount } from 'router'
|
||||
Vue.use(uView);
|
||||
Vue.use(router)
|
||||
Vue.config.productionTip = false
|
||||
Vue.prototype.$store = store
|
||||
App.mpType = 'app'
|
||||
const app = new Vue({
|
||||
...App
|
||||
})
|
||||
Vue.prototype.$store = store
|
||||
App.mpType = 'app'
|
||||
const app = new Vue({
|
||||
...App
|
||||
})
|
||||
app.$mount()
|
||||
// #endif
|
||||
|
||||
@@ -23,5 +30,5 @@ export function createApp() {
|
||||
return {
|
||||
app
|
||||
}
|
||||
}
|
||||
}
|
||||
// #endif
|
||||
Reference in New Issue
Block a user