Commit 16064447 authored by 纪泽龙's avatar 纪泽龙

优化判断题不允许删除

parent 795121e6
......@@ -35,7 +35,7 @@
:rules="{
required: true,
message: '必须输入题目内容',
trigger: ['blur', 'change'],
trigger: ['blur', 'change'],
}"
>
<el-input
......@@ -87,7 +87,7 @@
<el-button
size="mini"
type="danger"
v-if="index > 0"
v-if="index > 0 && form.topicType != 3"
@click.prevent="removeDomain(question)"
:disabled="checkLock"
>删除</el-button
......
......@@ -81,7 +81,7 @@
<el-button
size="mini"
type="danger"
v-if="index > 0"
v-if="index > 0 && form.topicType != 3"
@click.prevent="removeDomain(question)"
>删除</el-button
>
......
......@@ -84,7 +84,7 @@
<el-button
size="mini"
type="danger"
v-if="index > 0"
v-if="index > 0 && form.topicType != 3"
@click.prevent="removeDomain(question)"
:disabled="checkLock"
>删除</el-button
......
......@@ -78,7 +78,7 @@
<el-button
size="mini"
type="danger"
v-if="index > 0"
v-if="index > 0 && form.topicType != 3"
@click.prevent="removeDomain(question)"
plain
icon="el-icon-delete"
......
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