style: notices style

This commit is contained in:
xiaoxian521 2021-11-17 22:31:10 +08:00
parent 89dc4e5052
commit 0380d4a17a
2 changed files with 6 additions and 4 deletions

View File

@ -27,7 +27,7 @@ notices.value.forEach(notice => {
:label="`${item.name}(${item.list.length})`"
:name="item.name"
>
<el-scrollbar max-height="404px">
<el-scrollbar max-height="330px">
<div class="noticeList-container">
<NoticeList :list="item.list" />
</div>

View File

@ -23,7 +23,6 @@ import {
ElInput,
ElForm,
ElFormItem,
ElLoading,
ElPopover,
ElPopper,
ElTooltip,
@ -41,7 +40,10 @@ import {
ElTabs,
ElTabPane,
ElAvatar,
ElEmpty
ElEmpty,
// 指令
ElLoading,
ElInfiniteScroll
} from "element-plus";
// https://element-plus.org/zh-CN/component/icon.html
@ -125,7 +127,7 @@ export const iconComponents = [
Bell
];
const plugins = [ElLoading];
const plugins = [ElLoading, ElInfiniteScroll];
export function useElementPlus(app: App) {
components.push(...iconComponents);