表单模块优化

hc_zhufu
zzq 2024-05-15 10:39:26 +08:00
parent 1d9a931cb4
commit 5450bb07c2
2 changed files with 3 additions and 2 deletions

View File

@ -112,6 +112,7 @@ export const baseComponentCommonAttrs: Omit<IBaseFormAttrs, 'tag'>[] = [
component: 'Select',
componentProps: {
placeholder: '请输入',
allowClear: true,
options: [],
},
},

View File

@ -141,14 +141,14 @@
setTimeout(() => {
saveFormDatas.value.scheme.scheme = JSON.stringify(schems);
submitSaveClick();
}, 100);
}, 500);
} else if (tabArr.includes(undefined)) {
message.warning('请' + tabLabelArr[0] + '绑定数据表字段!', 2);
} else {
setTimeout(() => {
saveFormDatas.value.scheme.scheme = JSON.stringify(schems);
submitSaveClick();
}, 100);
}, 500);
}
}
provide('designSendGrandson', designSendGrandson);