perf: iframe嵌入式新开页面缺失token

This commit is contained in:
fit2cloud-chenyw 2024-03-19 11:21:08 +08:00
parent 34c17e4499
commit 9efa9c2c62
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