fix(项目设置): 修复通用设置切换类型,值没用跟着改变的缺陷
--bug=1018550 --user=王孝刚 【项目设置】环境配置-通用设置修改常量/列表类型为随机数/计数器类型,值没有发生改变 https://www.tapd.cn/55049933/s/1352771
This commit is contained in:
parent
9694ad7768
commit
191482cec3
|
@ -89,7 +89,8 @@
|
|||
v-model="scope.row.type"
|
||||
v-if="!scope.row.scope || scope.row.scope == 'api'"
|
||||
:placeholder="$t('commons.please_select')"
|
||||
size="mini">
|
||||
size="mini"
|
||||
@change="changeType(scope.row)">
|
||||
<el-option v-for="item in typeSelectOptions" :key="item.value" :label="item.label" :value="item.value" />
|
||||
</el-select>
|
||||
|
||||
|
@ -311,6 +312,7 @@ export default {
|
|||
// TODO 检查key重复
|
||||
},
|
||||
changeType(data) {
|
||||
console.log(data);
|
||||
data.value = '';
|
||||
if (!data.delimiter || (!data.files && data.files.length === 0) || !data.quotedData) {
|
||||
data.delimiter = ',';
|
||||
|
|
Loading…
Reference in New Issue