添加分配角色功能.

This commit is contained in:
lijiahang
2023-08-16 17:06:08 +08:00
parent 5ca656409d
commit 2521c856e2
23 changed files with 443 additions and 40 deletions

View File

@@ -260,7 +260,7 @@
setFetchLoading(true);
const { data } = await getMenuList(formModel);
tableRenderData.value = data as MenuQueryResponse[];
cacheStore.updateMenu(tableRenderData.value);
cacheStore.updateMenus(tableRenderData.value);
} finally {
setFetchLoading(false);
}
@@ -303,7 +303,7 @@
// 卸载时清除 menu cache
onUnmounted(() => {
cacheStore.resetMenu();
cacheStore.resetMenus();
});
</script>