fix(工作台): 修复工作台接口测试卡片跳转bug
This commit is contained in:
parent
ad84447bce
commit
4a209eb5fe
|
@ -794,13 +794,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (props.selectedProtocols.length > 0 || route.query.home) {
|
if (props.selectedProtocols.length > 0 || route.query.home) {
|
||||||
loadApiList(true);
|
loadApiList(!route.query.home);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const isActivated = computed(() => cacheStore.cacheViews.includes(CacheTabTypeEnum.API_TEST_API_TABLE));
|
const isActivated = computed(() => cacheStore.cacheViews.includes(CacheTabTypeEnum.API_TEST_API_TABLE));
|
||||||
|
|
||||||
onBeforeMount(() => {
|
onMounted(() => {
|
||||||
cacheStore.clearCache();
|
cacheStore.clearCache();
|
||||||
if (!isActivated.value) {
|
if (!isActivated.value) {
|
||||||
onMountedLoad();
|
onMountedLoad();
|
||||||
|
|
Loading…
Reference in New Issue