mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2026-01-26 17:02:00 +08:00
chore: update
This commit is contained in:
34
src/App.vue
34
src/App.vue
@@ -17,7 +17,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",
|
||||||
@@ -59,23 +59,23 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
ElNotification({
|
||||||
|
title: "高级服务",
|
||||||
|
duration: 0,
|
||||||
|
customClass: "fullpage-notification",
|
||||||
|
// @ts-expect-error
|
||||||
|
style: { width: "260px" },
|
||||||
|
position: "bottom-right",
|
||||||
|
dangerouslyUseHTMLString: true,
|
||||||
|
message: `
|
||||||
|
<a target='_blank' class='block text-base text-center border mt-4 rounded hover:text-[red]!' href='https://pure-admin.cn/pages/service'>
|
||||||
|
补差价活动即将结束!
|
||||||
|
</a>
|
||||||
|
`
|
||||||
|
});
|
||||||
}
|
}
|
||||||
// mounted() {
|
|
||||||
// ElNotification({
|
|
||||||
// title: "高级服务",
|
|
||||||
// duration: 0,
|
|
||||||
// customClass: "fullpage-notification",
|
|
||||||
// // @ts-expect-error
|
|
||||||
// style: { width: "280px" },
|
|
||||||
// position: "bottom-right",
|
|
||||||
// dangerouslyUseHTMLString: true,
|
|
||||||
// message: `
|
|
||||||
// <a target='_blank' class='block text-2xl text-center border mt-4 rounded hover:text-[red]!' href='https://pure-admin.cn/pages/service'>
|
|
||||||
// 限时活动即将结束!
|
|
||||||
// </a>
|
|
||||||
// `
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user