Browse Source

feat: 广东移动DICT判断是否在工作台内

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 9 months ago
parent
commit
a182a34f04
1 changed files with 3 additions and 1 deletions
  1. 3 1
      apps/bigmember_pc/src/views/customer/Search.vue

+ 3 - 1
apps/bigmember_pc/src/views/customer/Search.vue

@@ -131,8 +131,10 @@ import { getCustomQuery } from '@/api/modules'
 import { mapState } from 'vuex'
 import chinaMapJSON from '@/assets/js/china_area.js'
 import { InContainer } from '@/utils'
+import { workDeskTop } from '@/utils/mixins/in-workdesktop'
 export default {
   name: 'ent-search',
+  mixins: [workDeskTop],
   components: {
     [Tabs.name]: Tabs,
     [TabPane.name]: TabPane,
@@ -165,7 +167,7 @@ export default {
     this.getList()
   },
   mounted() {
-    this.isInIframe = InContainer?.inApp || false
+    this.isInIframe = this.isInWorkDeskTop()
   },
   methods: {
     resetListState() {