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