forked from github/dataease
fix(xpack): 路由跳转失败
This commit is contained in:
parent
7055cd2189
commit
48768527f9
@ -94,8 +94,6 @@ onMounted(async () => {
|
||||
} else {
|
||||
distributed = wsCache.get(key)
|
||||
}
|
||||
console.log('distributed', distributed, attrs, window['DEXPack'])
|
||||
|
||||
if (distributed) {
|
||||
if (window['DEXPack']) {
|
||||
const xpack = await window['DEXPack'].mapping[attrs.jsname]
|
||||
|
@ -1,11 +1,11 @@
|
||||
<script lang="ts" setup>
|
||||
import { ElMain } from 'element-plus-secondary'
|
||||
import { useRoute } from 'vue-router'
|
||||
const route = useRoute()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<el-main>
|
||||
<RouterView />
|
||||
<RouterView :key="route.path" />
|
||||
</el-main>
|
||||
</template>
|
||||
|
||||
<style lang="less" scoped></style>
|
||||
|
Loading…
Reference in New Issue
Block a user