diff --git a/src/App.vue b/src/App.vue
index 7c5f3a8d1e..79d4dc4909 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -16,7 +16,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";
+import { ElNotification } from "element-plus";
export default defineComponent({
name: "app",
@@ -54,20 +54,26 @@ export default defineComponent({
}
);
}
+ },
+ mounted() {
+ ElNotification({
+ title: "优惠活动已推出",
+ duration: 0,
+ //@ts-expect-error
+ style: { width: "200px" },
+ position: "bottom-right",
+ dangerouslyUseHTMLString: true,
+ message: `
+ 优质服务
+
+
+ JS版本
+
+
+ Max版本
+
+ `
+ });
}
- // mounted() {
- // ElNotification({
- // title: "通知",
- // duration: 0,
- // //@ts-expect-error
- // style: { width: "260px" },
- // position: "bottom-right",
- // dangerouslyUseHTMLString: true,
- // message: `
- // JS 版本限时优惠中!
- //
- // `
- // });
- // }
});