feat: baseTable params

This commit is contained in:
JiangSheng
2026-03-02 09:48:22 +08:00
parent c9ddf7cfbc
commit 31c1cd715c

View File

@@ -213,7 +213,7 @@ import HeadSearch from './headSearch.vue';
import { getFormConfigureApi } from '@/api/system/systemData';
import { formOptionsFormat } from './lib';
import { exportFile, fileUploadAllocationIconFun } from '@/utils/file';
import { cloneDeep, isString } from 'lodash-es';
import { cloneDeep, isString, isEqual } from 'lodash-es';
import { CommonStore } from '@/stores/common';
const commonStore = CommonStore();
@@ -346,8 +346,10 @@ watch(
watch(
() => props.params,
(val: any) => {
resetSearchFun(val);
(newVal: any, oldVal: any) => {
if (!isEqual(newVal, oldVal)) {
resetSearchFun(newVal);
}
},
{ deep: true }
);