fix: download query bug

This commit is contained in:
puhui999
2025-08-31 21:17:11 +08:00
parent 8e4f52c8aa
commit 71d2c380b3
38 changed files with 67 additions and 40 deletions

View File

@@ -8,7 +8,7 @@ export const copyValueToTarget = (target: any, source: any) => {
// 删除多余属性
Object.keys(newObj).forEach((key) => {
// 如果不是target中的属性则删除
if (Object.keys(target).indexOf(key) === -1) {
if (!Object.keys(target).includes(key)) {
delete newObj[key];
}
});

View File

@@ -1,3 +1,4 @@
export * from './bean';
export * from './constants';
export * from './dict';
export * from './formatTime';
@@ -5,4 +6,3 @@ export * from './formCreate';
export * from './rangePickerProps';
export * from './routerHelper';
export * from './validator';
export * from './bean';