Merge pull request #8580 from dataease/pr@dev-v2@perf_embedded_iframe_token

perf: iframe嵌入式新开页面缺失token
This commit is contained in:
fit2cloud-chenyw 2024-03-19 11:22:06 +08:00 committed by GitHub
commit 2d026896ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 18 deletions

View File

@ -12,5 +12,5 @@ export interface BusiTreeRequest {
busiFlag?: string
leaf?: boolean
weight?: number
sortType: string
sortType?: string
}

View File

@ -100,14 +100,7 @@ const newWindowHandler = ref(null)
let p = null
const XpackLoaded = () => {
const pm = {
methodName: 'newWindowReady',
args: null
}
if (newWindowHandler?.value) {
newWindowHandler.value.invokeMethod(pm)
p(true)
}
p(true)
}
//
onMounted(async () => {

View File

@ -204,14 +204,7 @@ const newWindowHandler = ref(null)
let p = null
const XpackLoaded = () => {
const pm = {
methodName: 'newWindowReady',
args: null
}
if (newWindowHandler?.value) {
newWindowHandler.value.invokeMethod(pm)
p(true)
}
p(true)
}
onMounted(async () => {
await new Promise(r => {

@ -1 +1 @@
Subproject commit 6fcd9f491e16f8ea015723a5230449a12b6eec18
Subproject commit 45c3ff3e6b1fade203d2206eaaa76347781b54bd