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

perf:修改页面

parent dff4cead
<template> <template>
<div> <div>
<a-modal :width="750" v-model="Visible" title="新增数据字段"> <a-modal
:width="750"
v-model="Visible"
title="新增数据字段"
@cancel="handleCancel"
>
<a-form-model <a-form-model
:model="form" :model="form"
ref="form" ref="form"
...@@ -323,7 +328,7 @@ export default { ...@@ -323,7 +328,7 @@ export default {
this.$refs.form.validate(async (valid) => { this.$refs.form.validate(async (valid) => {
if (valid) { if (valid) {
let bol = this.templeteList.some((v) => v.fieldType == "table"); let bol = this.templeteList.some((v) => v.fieldType == "table");
if (bol) { if (bol && !this.form.id) {
this.$message.warn("只能存在一个表格"); this.$message.warn("只能存在一个表格");
return; 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