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