|
@@ -208,7 +208,6 @@ const queryDiffList = (id) =>{
|
|
}
|
|
}
|
|
const beforeOpenDialog = (done, type, loading) => {
|
|
const beforeOpenDialog = (done, type, loading) => {
|
|
if (
|
|
if (
|
|
- type === "edit" &&
|
|
|
|
form.value.customFieldName &&
|
|
form.value.customFieldName &&
|
|
JSON.parse(form.value.customFieldName)?.length > 0
|
|
JSON.parse(form.value.customFieldName)?.length > 0
|
|
) {
|
|
) {
|
|
@@ -218,6 +217,12 @@ const beforeOpenDialog = (done, type, loading) => {
|
|
);
|
|
);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (
|
|
|
|
+ !form.value.customFieldName ||
|
|
|
|
+ JSON.parse(form.value.customFieldName)?.length == 0
|
|
|
|
+ ) {
|
|
|
|
+ customFieldNameValues.value =[];
|
|
|
|
+ }
|
|
done();
|
|
done();
|
|
};
|
|
};
|
|
|
|
|