添加卡片列表模板.

This commit is contained in:
lijiahangmax
2023-10-07 22:17:01 +08:00
parent 6d37fb51cf
commit da6e1e2eee
10 changed files with 60 additions and 51 deletions

View File

@@ -69,7 +69,7 @@
try {
const { data } = await getTagList('HOST');
// 设置到缓存
cacheStore.set('tags', data);
cacheStore.set('hostTags', data);
} catch {
Message.error('tag加载失败');
}
@@ -78,7 +78,7 @@
// 卸载时清除 tags cache
onUnmounted(() => {
cacheStore.set('tags', []);
cacheStore.set('hostTags', []);
cacheStore.set('hostKeys', []);
cacheStore.set('hostIdentities', []);
});