Skip to content

Commit

Permalink
v2.0.3优化
Browse files Browse the repository at this point in the history
- 首页tag溢出处理
- 多应用滚动异常处理
- 优化异常显示
  • Loading branch information
HGthecode committed Sep 11, 2021
1 parent 4ed90cf commit 37410aa
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
"dependencies": {
"@ant-design/icons-vue": "^6.0.1",
"@vueuse/core": "^5.1.3",
"ant-design-vue": "2.2.1",
"ant-design-vue": "2.2.6",
"axios": "^0.21.1",
"core-js": "^3.6.5",
"echarts": "^5.1.2",
"js-md5": "^0.7.3",
"lodash": "^4.17.21",
"marked": "^2.1.3",
"mockjs": "^1.1.0",
"monaco-editor": "^0.25.2",
"monaco-editor-webpack-plugin": "^4.0.0",
"monaco-editor": "0.25.2",
"monaco-editor-webpack-plugin": "4.0.0",
"register-service-worker": "^1.7.1",
"vue": "^3.0.0",
"vue-class-component": "^8.0.0-0",
Expand Down
6 changes: 5 additions & 1 deletion src/components/AppSelect/AppSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@
</a-select-opt-group>
</template>
<template v-else>
<a-select-option :value="`${item.folder}`" :label="`${item.title}`">
<a-select-option
:value="`${item.folder}`"
:label="`${item.title}`"
:key="`${item.folder}`"
>
{{ item.title }}
<span v-if="item.hasPassword" class="app-select-option_icon"><LockOutlined /></span>
</a-select-option>
Expand Down
4 changes: 3 additions & 1 deletion src/components/Error/Error.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<div>{{ status }}</div>
</div>
<div>
<p>ApiUrl: {{ error.config.baseURL }}{{ error.config.url }}</p>
<p
>ApiUrl: {{ error.config && error.config.baseURL }}{{ error.config && error.config.url }}</p
>
</div>
<div class="error-message">{{ message }}</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Loading/src/useLoading.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function useLoading(
const instance = createLoading(props, undefined, true);

const open = (): void => {
const t = unref(target);
const t = unref(target as ElRef);
if (!t) return;
instance.open(t);
};
Expand Down
2 changes: 2 additions & 0 deletions src/views/home/home.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
}
.tags-wraper{
height: 130px;
overflow: hidden;
overflow-y: auto;
.ant-tag{
margin-bottom: 10px;
}
Expand Down

0 comments on commit 37410aa

Please sign in to comment.