mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(接口测试): 修复接口文档不显示必选的缺陷
--bug=1025611 --user=王孝刚 【接口测试】github#23780,接口文档不能展示参数是否必填属性 https://www.tapd.cn/55049933/s/1364731
This commit is contained in:
parent
13bf6532d3
commit
bb1db7d816
@ -15,6 +15,19 @@
|
||||
:value="pickKey"
|
||||
@blur="onInputName"
|
||||
size="small" />
|
||||
<el-tooltip v-if="root" :content="$t('schema.checked_all')" placement="top">
|
||||
<input
|
||||
type="checkbox"
|
||||
:disabled="disabled || (!isObject && !isArray(pickValue))"
|
||||
class="ms-col-name-required"/>
|
||||
</el-tooltip>
|
||||
<el-tooltip v-else :content="$t('schema.required')" placement="top">
|
||||
<input
|
||||
type="checkbox"
|
||||
:disabled="disabled || isItem"
|
||||
:checked="checked"
|
||||
class="ms-col-name-required"/>
|
||||
</el-tooltip>
|
||||
</el-col>
|
||||
<el-col class="ms-col-name" style="width: 120px; padding: 0 5px">
|
||||
<el-select
|
||||
|
Loading…
Reference in New Issue
Block a user