refactor: 将字典从store 移动到@vben/stores

This commit is contained in:
xingyu4j
2025-09-04 18:36:05 +08:00
parent cf8745d844
commit 48ec3e15ab
10 changed files with 10 additions and 87 deletions

View File

@@ -10,6 +10,7 @@ export const copyValueToTarget = (target: any, source: any) => {
Object.keys(newObj).forEach((key) => {
// 如果不是target中的属性则删除
if (!Object.keys(target).includes(key)) {
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete
delete newObj[key];
}
});