Update main.js

This commit is contained in:
hwxlikemi 2024-08-23 12:50:38 +08:00 committed by GitHub
parent ed3e566c43
commit 9dafc594da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,6 @@ app.mount("#app");
// PWA
navigator.serviceWorker.addEventListener("controllerchange", () => {
// 弹出更新提醒
console.log("点已更新,刷新后生效");
ElMessage("点已更新,刷新后生效");
console.log("hwxlikemi维护了网站,刷新后生效");
ElMessage("hwxlikemi维护了网站,刷新后生效");
});