Skip to content

Commit c3f0174

Browse files
committed
chore: update
1 parent c48279c commit c3f0174

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

Diff for: src/App.vue

+19-19
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",
@@ -54,24 +54,24 @@ export default defineComponent({
5454
}
5555
);
5656
}
57+
},
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+
});
5775
}
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.github.io/pure-admin-doc/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.github.io/pure-admin-doc/pages/max/'>
71-
// Max版本
72-
// </a>
73-
// `
74-
// });
75-
// }
7676
});
7777
</script>

0 commit comments

Comments
 (0)