Commit a91ec33e authored by “yiyousong”'s avatar “yiyousong”

perf:修改页面

parent dff4cead
<template>
<div>
<a-modal :width="750" v-model="Visible" title="新增数据字段">
<a-modal
:width="750"
v-model="Visible"
title="新增数据字段"
@cancel="handleCancel"
>
<a-form-model
:model="form"
ref="form"
......@@ -323,7 +328,7 @@ export default {
this.$refs.form.validate(async (valid) => {
if (valid) {
let bol = this.templeteList.some((v) => v.fieldType == "table");
if (bol) {
if (bol && !this.form.id) {
this.$message.warn("只能存在一个表格");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment