fix(项目设置): 修复模版关联问题
This commit is contained in:
parent
d68f283578
commit
4f327535b4
|
@ -448,7 +448,9 @@
|
|||
// 处理表单数据格式
|
||||
const getFieldOptionList = () => {
|
||||
totalTemplateField.value = getTotalFieldOptionList(totalTemplateField.value as DefinedFieldItem[]);
|
||||
if (!isEdit.value) {
|
||||
selectData.value = totalTemplateField.value.filter((item) => item.internal);
|
||||
}
|
||||
};
|
||||
|
||||
// 获取字段列表数据
|
||||
|
@ -665,9 +667,7 @@
|
|||
selectData.value = [];
|
||||
totalTemplateField.value = [];
|
||||
await getClassifyField();
|
||||
if (!isEdit.value) {
|
||||
getFieldOptionList();
|
||||
}
|
||||
if (isEdit.value) {
|
||||
getTemplateInfo();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue