手机端关闭数小福

This commit is contained in:
zyn
2023-11-06 16:34:15 +08:00
parent 3af2c8c7e2
commit e991b4ace0
+5 -1
View File
@@ -10,7 +10,7 @@
<!-- scrolling="0"-->
<!-- ></iframe>-->
<!-- 数小福 -->
<customerService></customerService>
<customerService v-if="customerServiceShow"></customerService>
<!-- <router-view v-if="!isBoolean"/>-->
<span v-if="this.$route.name === 'Login'|| !isBoolean">
<router-view/>
@@ -96,6 +96,7 @@
import {mapGetters, mapState} from 'vuex'
import {webLoginType, ssoLogoutUrlDev} from '@/sysConfig'
import customerService from "@/components/customerService";
import isMobile from "./store/isMobile";
export default {
name: 'App',
@@ -239,6 +240,9 @@
userAvator() {
return this.$store.getters.userInfo.avator || require('@/assets/images/avator_default.png')
},
customerServiceShow () {
return !isMobile()
},
...mapGetters([
'getWebSocketList', 'getTheme', 'getMenuList'
]),