fix(接口测试): 修复接口文档不显示必选的缺陷

--bug=1025611 --user=王孝刚 【接口测试】github#23780,接口文档不能展示参数是否必填属性
https://www.tapd.cn/55049933/s/1364731
This commit is contained in:
wxg0103 2023-04-20 14:27:18 +08:00 committed by 建国
parent 13bf6532d3
commit bb1db7d816

View File

@ -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