fix(接口测试): 接口测试 schema 问题修复
This commit is contained in:
parent
e6feff1495
commit
dbba203102
|
@ -185,7 +185,7 @@ body {
|
|||
color: rgb(var(--primary-7));
|
||||
}
|
||||
&--required {
|
||||
color: rgb(var(--danger-5));
|
||||
color: rgb(var(--danger-5)) !important;
|
||||
}
|
||||
&--disabled {
|
||||
@apply cursor-not-allowed;
|
||||
|
|
|
@ -594,7 +594,7 @@
|
|||
.ms-form-table--disabled {
|
||||
:deep(.arco-table-td-content) {
|
||||
span,
|
||||
div {
|
||||
div:not(.ms-form-table-required-button--required) {
|
||||
color: var(--color-text-4) !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -273,10 +273,13 @@
|
|||
);
|
||||
|
||||
watchEffect(() => {
|
||||
if (props.hideJsonSchema || props.isCase) {
|
||||
if (props.hideJsonSchema) {
|
||||
innerParams.value.jsonBody.enableJsonSchema = false;
|
||||
return;
|
||||
}
|
||||
if (props.isCase) {
|
||||
innerParams.value.jsonBody.enableJsonSchema = false;
|
||||
}
|
||||
if (
|
||||
innerParams.value.jsonBody.jsonSchema &&
|
||||
(!innerParams.value.jsonBody.jsonSchemaTableData || innerParams.value.jsonBody.jsonSchemaTableData.length === 0)
|
||||
|
|
Loading…
Reference in New Issue