ui: fix notification param

This commit is contained in:
undefined committed 2021-04-06 19:36:07 +08:00
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);
});