Skip to content

Commit fe7d67a

Browse files
committed
chore: update
1 parent c2ae49a commit fe7d67a

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

src/App.vue

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import en from "element-plus/es/locale/lang/en";
1616
import zhCn from "element-plus/es/locale/lang/zh-cn";
1717
import plusEn from "plus-pro-components/es/locale/lang/en";
1818
import plusZhCn from "plus-pro-components/es/locale/lang/zh-cn";
19-
// import { ElNotification } from "element-plus";
19+
import { ElNotification } from "element-plus";
2020
2121
export default defineComponent({
2222
name: "app",
@@ -55,23 +55,20 @@ export default defineComponent({
5555
);
5656
}
5757
},
58-
// mounted() {
59-
// ElNotification({
60-
// title: "限时活动",
61-
// duration: 0,
62-
// // @ts-expect-error
63-
// style: { width: "200px" },
64-
// position: "bottom-right",
65-
// dangerouslyUseHTMLString: true,
66-
// message: `
67-
// <a target='_blank' style='font-size: 16px' class='block text-center border mb-2 rounded hover:text-[red]' href='https://pure-admin.cn/pages/js/'>
68-
// JS版本
69-
// </a>
70-
// <a target='_blank' style='font-size: 16px' class='block text-center border mb-2 rounded hover:text-[red]' href='https://pure-admin.cn/pages/max/'>
71-
// Max版本
72-
// </a>
73-
// `
74-
// });
75-
// }
58+
mounted() {
59+
ElNotification({
60+
title: "高级服务",
61+
duration: 0,
62+
// @ts-expect-error
63+
style: { width: "200px" },
64+
position: "bottom-right",
65+
dangerouslyUseHTMLString: true,
66+
message: `
67+
<a target='_blank' class='block text-base text-center border mt-2 rounded hover:text-[red]!' href='https://pure-admin.cn/pages/service/'>
68+
点我查看
69+
</a>
70+
`
71+
});
72+
}
7673
});
7774
</script>

0 commit comments

Comments
 (0)