浏览代码

管道节点管理表单提交报错处理

lph 1 年之前
父节点
当前提交
950055ff4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zkqy-ui/src/views/bpmprocess/scriptManage.vue

+ 1 - 1
zkqy-ui/src/views/bpmprocess/scriptManage.vue

@@ -533,7 +533,7 @@ export default {
       // console.log(this.monacoEditor?.getValue());
       this.$refs["form"].validate((valid) => {
         if (valid) {
-          this.form.tableName = this.form.tableName.join(",");
+          this.form.tableName = this.form.tableName?.join(",");
           if (this.form.id != null) {
             updateScript(this.form).then((response) => {
               this.$modal.msgSuccess("修改成功");