手机端关闭数小福
This commit is contained in:
+5
-1
@@ -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'
|
||||
]),
|
||||
|
||||
Reference in New Issue
Block a user