refactor: 环境配置 通用配置 全局变量新增一列备注
This commit is contained in:
parent
f4d4109a2d
commit
926afe14bb
|
@ -11,13 +11,18 @@
|
|||
</el-col>
|
||||
|
||||
<el-col>
|
||||
<ms-api-variable-input :show-copy="showCopy" :show-variable="showVariable" :is-read-only="isReadOnly" v-model="item.name" size="small" maxlength="200" @change="change"
|
||||
<ms-api-variable-input :show-copy="showCopy" :show-variable="showVariable" :is-read-only="isReadOnly"
|
||||
v-model="item.name" size="small" maxlength="200" @change="change"
|
||||
:placeholder="$t('api_test.variable_name')" show-word-limit/>
|
||||
</el-col>
|
||||
<el-col>
|
||||
<el-input :disabled="isReadOnly" v-model="item.value" size="small" @change="change"
|
||||
:placeholder="$t('api_test.value')" show-word-limit/>
|
||||
</el-col>
|
||||
<el-col>
|
||||
<el-input :disabled="isReadOnly" v-model="item.remark" size="small" @change="change"
|
||||
:placeholder="$t('commons.remark')" show-word-limit/>
|
||||
</el-col>
|
||||
<el-col class="kv-delete">
|
||||
<el-button size="mini" class="el-icon-delete-solid" circle @click="remove(index)"
|
||||
:disabled="isDisable(index) || isReadOnly"/>
|
||||
|
|
|
@ -734,6 +734,7 @@ export class KeyValue extends BaseConfig {
|
|||
this.enable = undefined;
|
||||
this.uuid = undefined;
|
||||
this.contentType = undefined;
|
||||
this.remark = undefined;
|
||||
this.set(options);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue