fix(项目设置): 自定义字段设置默认值后无法清除

--bug=1018831 --user=李玉号 【项目设置】模版管理-接口模版自定义字段设置默认值后无法清除
https://www.tapd.cn/55049933/s/1283205
This commit is contained in:
shiziyuan9527 2022-10-31 11:42:46 +08:00 committed by 刘瑞斌
parent 13f978b3e1
commit 81895328a9
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
:disabled="disabled" :disabled="disabled"
:multiple="data.type === 'multipleSelect'" :multiple="data.type === 'multipleSelect'"
@change="handleChange" @change="handleChange"
clearable
filterable v-model="data[prop]" :placeholder="$t('commons.default')"> filterable v-model="data[prop]" :placeholder="$t('commons.default')">
<el-option <el-option
v-for="(item,index) in data.options ? data.options : []" v-for="(item,index) in data.options ? data.options : []"