File tree 1 file changed +19
-19
lines changed
1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import en from "element-plus/es/locale/lang/en";
16
16
import zhCn from " element-plus/es/locale/lang/zh-cn" ;
17
17
import plusEn from " plus-pro-components/es/locale/lang/en" ;
18
18
import plusZhCn from " plus-pro-components/es/locale/lang/zh-cn" ;
19
- // import { ElNotification } from "element-plus";
19
+ import { ElNotification } from " element-plus" ;
20
20
21
21
export default defineComponent ({
22
22
name: " app" ,
@@ -54,24 +54,24 @@ export default defineComponent({
54
54
}
55
55
);
56
56
}
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
+ });
57
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.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
- // }
76
76
});
77
77
</script >
You can’t perform that action at this time.
0 commit comments