forked from github/dataease
perf: iframe嵌入式新开页面缺失token
This commit is contained in:
parent
34c17e4499
commit
9efa9c2c62
@ -12,5 +12,5 @@ export interface BusiTreeRequest {
|
|||||||
busiFlag?: string
|
busiFlag?: string
|
||||||
leaf?: boolean
|
leaf?: boolean
|
||||||
weight?: number
|
weight?: number
|
||||||
sortType: string
|
sortType?: string
|
||||||
}
|
}
|
||||||
|
@ -100,14 +100,7 @@ const newWindowHandler = ref(null)
|
|||||||
|
|
||||||
let p = null
|
let p = null
|
||||||
const XpackLoaded = () => {
|
const XpackLoaded = () => {
|
||||||
const pm = {
|
p(true)
|
||||||
methodName: 'newWindowReady',
|
|
||||||
args: null
|
|
||||||
}
|
|
||||||
if (newWindowHandler?.value) {
|
|
||||||
newWindowHandler.value.invokeMethod(pm)
|
|
||||||
p(true)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// 全局监听按键事件
|
// 全局监听按键事件
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
@ -204,14 +204,7 @@ const newWindowHandler = ref(null)
|
|||||||
|
|
||||||
let p = null
|
let p = null
|
||||||
const XpackLoaded = () => {
|
const XpackLoaded = () => {
|
||||||
const pm = {
|
p(true)
|
||||||
methodName: 'newWindowReady',
|
|
||||||
args: null
|
|
||||||
}
|
|
||||||
if (newWindowHandler?.value) {
|
|
||||||
newWindowHandler.value.invokeMethod(pm)
|
|
||||||
p(true)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
await new Promise(r => {
|
await new Promise(r => {
|
||||||
|
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
|||||||
Subproject commit 6fcd9f491e16f8ea015723a5230449a12b6eec18
|
Subproject commit 45c3ff3e6b1fade203d2206eaaa76347781b54bd
|
Loading…
Reference in New Issue
Block a user