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"
|
:value="pickKey"
|
||||||
@blur="onInputName"
|
@blur="onInputName"
|
||||||
size="small" />
|
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>
|
||||||
<el-col class="ms-col-name" style="width: 120px; padding: 0 5px">
|
<el-col class="ms-col-name" style="width: 120px; padding: 0 5px">
|
||||||
<el-select
|
<el-select
|
||||||
|
|
Loading…
Reference in New Issue