|
|
@@ -402,7 +402,14 @@ export default {
|
|
|
this.$message.warning("请进行数据映射配置");
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
+ const isValid = this.listArr.every(item =>
|
|
|
+ item.elementId && item.initTabId
|
|
|
+ );
|
|
|
+
|
|
|
+ if (!isValid) {
|
|
|
+ this.$message.warning("请确保选择了所有表单和元素字段!");
|
|
|
+ return;
|
|
|
+ }
|
|
|
this.saveLoaing = true;
|
|
|
const { data: res } = await saveLinkDetail({
|
|
|
classId: this.classId,
|