Skip to content

Commit c2ae49a

Browse files
committed
chore: update
1 parent a7f78ff commit c2ae49a

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/App.vue

Lines changed: 19 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,23 @@ 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' 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+
// }
7676
});
7777
</script>

0 commit comments

Comments
 (0)