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 => {