fix: add explicit '\u65e0\u6761\u4ef6' option to applicable dropdown
Easier to switch back than relying on clearable X button
This commit is contained in:
@@ -115,7 +115,8 @@
|
|||||||
<!-- 适用条件 -->
|
<!-- 适用条件 -->
|
||||||
<div class="field-row">
|
<div class="field-row">
|
||||||
<span class="field-label">适用条件</span>
|
<span class="field-label">适用条件</span>
|
||||||
<el-select v-model="rule.applicable" size="small" @change="sync" clearable placeholder="无条件(始终适用)" style="width:200px">
|
<el-select v-model="rule.applicable" size="small" @change="sync" placeholder="无条件(始终适用)" style="width:200px">
|
||||||
|
<el-option value="" label="无条件" />
|
||||||
<el-option v-for="x in applicableOptions" :key="x.value" :label="x.label" :value="x.value" />
|
<el-option v-for="x in applicableOptions" :key="x.value" :label="x.label" :value="x.value" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user