fix: 关联标准规范
This commit is contained in:
@@ -315,6 +315,11 @@ watch(
|
||||
.map((path) => path.split(','))
|
||||
: [];
|
||||
selected.value = pathsArray;
|
||||
if (pathsArray.length === 0) {
|
||||
options.value = [];
|
||||
optionsKey.value = Date.now();
|
||||
return;
|
||||
}
|
||||
if (pathsArray.length > 0 && pathsArray[0].length > 0) {
|
||||
if (props.editable) {
|
||||
await buildOptionsFromIds(pathsArray);
|
||||
|
||||
@@ -506,6 +506,13 @@ watch(
|
||||
prepareFromProps();
|
||||
} else {
|
||||
formData.value = {};
|
||||
standard.value = null;
|
||||
exceptionFile.value = null;
|
||||
selectedFlowTemplate.value = null;
|
||||
isAutoFilled.value = false;
|
||||
autoFilledFields.value = [];
|
||||
standardSceneChildren.value = [];
|
||||
tabName.value = '基础信息';
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user