[update 飞书跳转移动端] 临时增加移动端页面
This commit is contained in:
+3
-1
@@ -3,6 +3,7 @@
|
||||
|
||||
import Vue from 'vue'
|
||||
import App from './App.vue'
|
||||
import MobileApp from './MobileApp'
|
||||
import Storage from 'vue-ls'
|
||||
import router from './router'
|
||||
import store from './store/'
|
||||
@@ -49,6 +50,7 @@ import JDictComponenets from '@comp/dict/index.js'
|
||||
|
||||
import JTable from '@comp/jero/JTable.vue'
|
||||
import i18n from '@/common/lang'
|
||||
import { isMobile } from '@/utils/util'
|
||||
|
||||
// Vue.prototype.rules = rules
|
||||
Vue.config.productionTip = false
|
||||
@@ -101,7 +103,7 @@ function main () {
|
||||
store.commit('SET_TOKEN', Vue.ls.get(ACCESS_TOKEN))
|
||||
store.commit('SET_MULTI_PAGE', Vue.ls.get(DEFAULT_MULTI_PAGE, config.multipage))
|
||||
},
|
||||
render: h => h(App),
|
||||
render: h => h(isMobile() ? MobileApp : App),
|
||||
data: {
|
||||
Bus: new Vue()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user