fix(接口调试): 问题修复

This commit is contained in:
baiqi 2024-02-22 16:36:33 +08:00 committed by Craftsman
parent 5df3ca1d19
commit 2fcf5ec3e3
5 changed files with 16 additions and 8 deletions

View File

@ -39,11 +39,12 @@
<dropdownMenu v-model:file-list="innerFileList" @link-file="associatedFile" @change="handleChange" />
<MsTagsInput
v-model:model-value="inputFiles"
:class="props.inputClass"
:input-class="props.inputClass"
placeholder=" "
:max-tag-count="1"
:size="props.inputSize"
readonly
class="!w-[calc(100%-28px)]"
>
<template #tag="{ data }">
<MsTag
@ -235,11 +236,14 @@
<style lang="less" scoped>
:deep(.arco-input-tag-inner) {
@apply flex items-center;
@apply flex w-full items-center;
.arco-input-tag-tag {
@apply !my-0 !bg-transparent;
max-width: calc(100% - 50px);
max-width: calc(100% - 56px);
}
.arco-input-tag-input {
@apply hidden;
}
}
</style>

View File

@ -159,7 +159,7 @@
//
return props.noContentPadding ? 140 + _specialHeight : 180 + _specialHeight;
}
return 234 + _specialHeight;
return 264 + _specialHeight;
});
const getComputedContentStyle = computed(() => {

View File

@ -1,5 +1,5 @@
<template>
<div class="w-full">
<div :class="`w-full ${props.class}`">
<a-input-tag
v-model:model-value="innerModelValue"
v-model:input-value="innerInputValue"
@ -10,7 +10,7 @@
:unique-value="props.uniqueValue"
:max-tag-count="props.maxTagCount"
:readonly="props.readonly"
:class="props.class"
:class="props.inputClass"
:size="props.size"
@press-enter="tagInputEnter"
@blur="tagInputBlur"
@ -51,6 +51,7 @@
maxLength?: number;
readonly?: boolean;
class?: string;
inputClass?: string;
size?: 'small' | 'large' | 'medium' | 'mini';
}>(),
{
@ -59,6 +60,7 @@
allowClear: true,
maxLength: 64,
class: '',
inputClass: '',
size: 'medium',
}
);

View File

@ -182,7 +182,7 @@
<MsTagsInput
v-model:model-value="record[columnConfig.dataIndex as string]"
:max-tag-count="1"
class="param-input"
input-class="param-input"
@change="(val) => addTableLine(val, 'tag')"
/>
</a-popover>

View File

@ -602,8 +602,10 @@
// tab
temporaryResponseMap[data.reportId] = data.taskResult;
}
} else if (data.msgType === 'EXEC_END') {
// websocket
websocket.value?.close();
}
websocket.value?.close();
});
}