Skip to content

Commit 37410aa

Browse files
committed
v2.0.3优化
- 首页tag溢出处理 - 多应用滚动异常处理 - 优化异常显示
1 parent 4ed90cf commit 37410aa

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
"dependencies": {
1111
"@ant-design/icons-vue": "^6.0.1",
1212
"@vueuse/core": "^5.1.3",
13-
"ant-design-vue": "2.2.1",
13+
"ant-design-vue": "2.2.6",
1414
"axios": "^0.21.1",
1515
"core-js": "^3.6.5",
1616
"echarts": "^5.1.2",
1717
"js-md5": "^0.7.3",
1818
"lodash": "^4.17.21",
1919
"marked": "^2.1.3",
2020
"mockjs": "^1.1.0",
21-
"monaco-editor": "^0.25.2",
22-
"monaco-editor-webpack-plugin": "^4.0.0",
21+
"monaco-editor": "0.25.2",
22+
"monaco-editor-webpack-plugin": "4.0.0",
2323
"register-service-worker": "^1.7.1",
2424
"vue": "^3.0.0",
2525
"vue-class-component": "^8.0.0-0",

src/components/AppSelect/AppSelect.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
</a-select-opt-group>
2222
</template>
2323
<template v-else>
24-
<a-select-option :value="`${item.folder}`" :label="`${item.title}`">
24+
<a-select-option
25+
:value="`${item.folder}`"
26+
:label="`${item.title}`"
27+
:key="`${item.folder}`"
28+
>
2529
{{ item.title }}
2630
<span v-if="item.hasPassword" class="app-select-option_icon"><LockOutlined /></span>
2731
</a-select-option>

src/components/Error/Error.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
<div>{{ status }}</div>
66
</div>
77
<div>
8-
<p>ApiUrl: {{ error.config.baseURL }}{{ error.config.url }}</p>
8+
<p
9+
>ApiUrl: {{ error.config && error.config.baseURL }}{{ error.config && error.config.url }}</p
10+
>
911
</div>
1012
<div class="error-message">{{ message }}</div>
1113
</div>

src/components/Loading/src/useLoading.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function useLoading(
3232
const instance = createLoading(props, undefined, true);
3333

3434
const open = (): void => {
35-
const t = unref(target);
35+
const t = unref(target as ElRef);
3636
if (!t) return;
3737
instance.open(t);
3838
};

src/views/home/home.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
}
1010
.tags-wraper{
1111
height: 130px;
12+
overflow: hidden;
13+
overflow-y: auto;
1214
.ant-tag{
1315
margin-bottom: 10px;
1416
}

0 commit comments

Comments
 (0)