diff --git a/src/App.vue b/src/App.vue index 08a19cc0b9..90c297d726 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,6 +14,7 @@ import en from "element-plus/es/locale/lang/en"; import zhCn from "element-plus/es/locale/lang/zh-cn"; import plusEn from "plus-pro-components/es/locale/lang/en"; import plusZhCn from "plus-pro-components/es/locale/lang/zh-cn"; +import { ElNotification } from "element-plus"; export default defineComponent({ name: "app", @@ -50,21 +51,21 @@ export default defineComponent({ } ); } + }, + mounted() { + ElNotification({ + title: "通知", + duration: 0, + //@ts-expect-error + style: { width: "235px" }, + position: "bottom-right", + dangerouslyUseHTMLString: true, + message: ` + + issues 通道即将关闭!反馈问题请走网易邮箱 + + ` + }); } - // mounted() { - // ElNotification({ - // title: "永久解答服务", - // duration: 0, - // //@ts-expect-error - // style: { width: "370px" }, - // position: "bottom-right", - // dangerouslyUseHTMLString: true, - // message: ` - // - // 服务已升级!!!点击查看升级详情!!! - // - // ` - // }); - // } });