diff --git a/src/layout/components/notice/index.vue b/src/layout/components/notice/index.vue index e039ad8dd..108bebda8 100644 --- a/src/layout/components/notice/index.vue +++ b/src/layout/components/notice/index.vue @@ -27,7 +27,7 @@ notices.value.forEach(notice => { :label="`${item.name}(${item.list.length})`" :name="item.name" > - +
diff --git a/src/plugins/element-plus/index.ts b/src/plugins/element-plus/index.ts index d83470347..380943f44 100644 --- a/src/plugins/element-plus/index.ts +++ b/src/plugins/element-plus/index.ts @@ -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);