fix(接口测试): 修复接口测试文档分享时效设置bug

This commit is contained in:
xinxin.wu 2024-10-22 10:17:52 +08:00 committed by Craftsman
parent 35f2f18295
commit 2597463323
2 changed files with 4 additions and 1 deletions

View File

@ -106,10 +106,12 @@
watch(
() => modelValue.value,
() => {
(val) => {
if (!props.allowEmpty) {
numberValue.value = 0;
initNumberAndType();
} else if (val && Number(val) !== 0) {
initNumberAndType();
}
},
{

View File

@ -187,6 +187,7 @@ export function getApiDetailColumn(isGroup: boolean, isPreview: boolean): MsTabl
filterConfig: {
options: isPreview ? lastReportStatusListOptions.value : [],
filterSlotName: FilterSlotNameEnum.API_TEST_CASE_API_LAST_EXECUTE_STATUS,
emptyFilter: true,
},
width: 150,
showInTable: true,