in packages/form-render/src/models/fieldShouldUpdate.ts [66:82]
export default (str: string, dataPath: string, dependencies: any[], shouldUpdateOpen: boolean) => (preValue: any, nextValue: any) => {
// dependencies ε
δΈε€η
if (dependencies) {
return true;
}
const formDataList = findStrList(str, 'formData');
const rootValueList = findStrList(str, 'rootValue');
const formDataRes = getListEveryResult(formDataList, preValue, nextValue, dataPath);
const rootValueRes = getListEveryResult(rootValueList, preValue, nextValue, dataPath);
if (formDataRes && rootValueRes) {
return false;
}
return true;
};