🐛 修复测试.
This commit is contained in:
@@ -306,7 +306,7 @@
|
||||
try {
|
||||
const groups = await cacheStore.loadHostGroups(force);
|
||||
emits('loading', true);
|
||||
treeData.value = groups;
|
||||
treeData.value = groups || [];
|
||||
} catch (e) {
|
||||
} finally {
|
||||
emits('loading', false);
|
||||
|
||||
@@ -66,6 +66,8 @@ export interface Options {
|
||||
overviewRulerBorder?: boolean;
|
||||
// 颜色装饰器
|
||||
colorDecorators?: boolean;
|
||||
// 将溢出小部件显示为 fixed 编辑器较小的话需要设置为 true 否则 suggest 会被覆盖
|
||||
fixedOverflowWidgets?: boolean;
|
||||
|
||||
[key: string]: unknown;
|
||||
}
|
||||
@@ -94,7 +96,7 @@ export const createDefaultOptions = (): Options => {
|
||||
scrollBeyondLastLine: false,
|
||||
overviewRulerBorder: false,
|
||||
colorDecorators: true,
|
||||
suggest: true,
|
||||
fixedOverflowWidgets: true,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -166,8 +166,8 @@
|
||||
|
||||
:deep(.arco-tabs-tab) {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
color: var(--color-header-text-1);
|
||||
background: var(--color-bg-header-tabs);
|
||||
position: relative;
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
}
|
||||
|
||||
:deep(.arco-upload-list) {
|
||||
max-height: calc(100vh - 388px);
|
||||
max-height: calc(100vh - 386px);
|
||||
overflow-y: auto;
|
||||
padding: 0 12px 0 0;
|
||||
}
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
:data="transferManager.transferList">
|
||||
<!-- 空数据 -->
|
||||
<template #empty>
|
||||
<a-empty style="flex-direction: column;"
|
||||
description="无传输文件" />
|
||||
<a-empty class="list-empty" description="无传输文件" />
|
||||
</template>
|
||||
<!-- 数据 -->
|
||||
<template #item="{ item }">
|
||||
@@ -157,6 +156,11 @@
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.list-empty {
|
||||
flex-direction: column;
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
||||
.transfer-item {
|
||||
min-height: 36px;
|
||||
padding: 8px 0;
|
||||
|
||||
Reference in New Issue
Block a user