调整路由拦截模式
This commit is contained in:
10
main.js
10
main.js
@@ -12,8 +12,14 @@ Vue.prototype.$store = store
|
||||
App.mpType = 'app'
|
||||
const app = new Vue({
|
||||
...App
|
||||
})
|
||||
app.$mount()
|
||||
})
|
||||
// #ifdef H5
|
||||
RouterMount(app,router,'#app')
|
||||
// #endif
|
||||
|
||||
// #ifndef H5
|
||||
app.$mount(); //为了兼容小程序及app端必须这样写才有效果
|
||||
// #endif
|
||||
// #endif
|
||||
// #ifdef VUE3
|
||||
import { createSSRApp } from 'vue'
|
||||
|
||||
Reference in New Issue
Block a user