修复权限以及供应商入库

This commit is contained in:
Teo
2025-08-28 20:10:46 +08:00
parent e7cf93f7e4
commit 9ec6b9818c
8 changed files with 108 additions and 66 deletions

View File

@ -56,7 +56,13 @@ const handleSelect = async (projectId: string) => {
text: '项目切换中...',
background: 'rgba(0, 0, 0, 0.7)'
});
setTimeout(() => {
if (loadingInstance && loadingInstance.visible) {
loadingInstance.close();
}
}, 3000);
await changeProject(projectId);
console.log('切换项目', selectedProject);
// 更新项目 & 权限
userStore.setSelectedProject(selectedProject);