@@ -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, isEqual } from 'lodash-es';
|
||||
import { cloneDeep, isString } from 'lodash-es';
|
||||
import { CommonStore } from '@/stores/common';
|
||||
|
||||
const commonStore = CommonStore();
|
||||
@@ -346,10 +346,8 @@ watch(
|
||||
|
||||
watch(
|
||||
() => props.params,
|
||||
(newVal: any, oldVal: any) => {
|
||||
if (!isEqual(newVal, oldVal)) {
|
||||
resetSearchFun(newVal);
|
||||
}
|
||||
(val: any) => {
|
||||
resetSearchFun(val);
|
||||
},
|
||||
{ deep: true }
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user