fix(接口调试): 问题修复
This commit is contained in:
parent
5df3ca1d19
commit
2fcf5ec3e3
|
@ -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>
|
||||
|
|
|
@ -159,7 +159,7 @@
|
|||
// 隐藏底部
|
||||
return props.noContentPadding ? 140 + _specialHeight : 180 + _specialHeight;
|
||||
}
|
||||
return 234 + _specialHeight;
|
||||
return 264 + _specialHeight;
|
||||
});
|
||||
|
||||
const getComputedContentStyle = computed(() => {
|
||||
|
|
|
@ -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',
|
||||
}
|
||||
);
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -602,8 +602,10 @@
|
|||
// 不是则需要把报告缓存起来,等切换到对应的tab再赋值
|
||||
temporaryResponseMap[data.reportId] = data.taskResult;
|
||||
}
|
||||
} else if (data.msgType === 'EXEC_END') {
|
||||
// 执行结束,关闭websocket
|
||||
websocket.value?.close();
|
||||
}
|
||||
websocket.value?.close();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue