[update 飞书跳转移动端] 临时增加移动端页面

This commit is contained in:
danshihao
2024-08-08 16:28:11 +08:00
parent bb5ecb6f27
commit 367c1bd1b7
5 changed files with 74 additions and 2 deletions
+3 -1
View File
@@ -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()
}