Răsfoiți Sursa

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

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 9 luni în urmă
părinte
comite
6e22d8550f
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      apps/bigmember_pc/src/views/customer/Search.vue

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

@@ -130,6 +130,7 @@ import EntInput from './components/SearchInput.vue'
 import { getCustomQuery } from '@/api/modules'
 import { mapState } from 'vuex'
 import chinaMapJSON from '@/assets/js/china_area.js'
+import { InContainer } from '@/utils'
 export default {
   name: 'ent-search',
   components: {
@@ -164,7 +165,7 @@ export default {
     this.getList()
   },
   mounted() {
-    this.isInIframe = window.goTemplateData?.inIframe || false
+    this.isInIframe = InContainer.inIframe
   },
   methods: {
     resetListState() {