mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix notification param
This commit is contained in:
1 parent
9c5d9079c9
commit
38bee6415d
4 files changed
+3
-13
No files matched your search
@@ -3,5 +3,5 @@ import Notification from 'vj/components/notification/index';
|
||||
|
||||
export default new AutoloadPage('notificationPage', () => {
|
||||
const text = new URL(window.location.href).searchParams.get('notification');
|
||||
if (text) new Notification(text).show();
|
||||
if (text) Notification.success(text);
|
||||
});
|
||||
Reference in new issue
Block a user