fix(工作台): 修复工作台接口测试卡片跳转bug
This commit is contained in:
parent
ad84447bce
commit
4a209eb5fe
|
@ -794,13 +794,13 @@
|
|||
}
|
||||
|
||||
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));
|
||||
|
||||
onBeforeMount(() => {
|
||||
onMounted(() => {
|
||||
cacheStore.clearCache();
|
||||
if (!isActivated.value) {
|
||||
onMountedLoad();
|
||||
|
|
Loading…
Reference in New Issue