chore: update

This commit is contained in:
xiaoxian521 2025-05-12 16:07:26 +08:00
parent a7f78ff1ec
commit c2ae49a2e6

View File

@ -16,7 +16,7 @@ import en from "element-plus/es/locale/lang/en";
import zhCn from "element-plus/es/locale/lang/zh-cn"; import zhCn from "element-plus/es/locale/lang/zh-cn";
import plusEn from "plus-pro-components/es/locale/lang/en"; import plusEn from "plus-pro-components/es/locale/lang/en";
import plusZhCn from "plus-pro-components/es/locale/lang/zh-cn"; import plusZhCn from "plus-pro-components/es/locale/lang/zh-cn";
import { ElNotification } from "element-plus"; // import { ElNotification } from "element-plus";
export default defineComponent({ export default defineComponent({
name: "app", name: "app",
@ -55,23 +55,23 @@ export default defineComponent({
); );
} }
}, },
mounted() { // mounted() {
ElNotification({ // ElNotification({
title: "限时活动", // title: "",
duration: 0, // duration: 0,
// @ts-expect-error // // @ts-expect-error
style: { width: "200px" }, // style: { width: "200px" },
position: "bottom-right", // position: "bottom-right",
dangerouslyUseHTMLString: true, // dangerouslyUseHTMLString: true,
message: ` // message: `
<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/'> // <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/'>
JS版 // JS
</a> // </a>
<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/'> // <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/'>
Max版 // Max
</a> // </a>
` // `
}); // });
} // }
}); });
</script> </script>