mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 添加加域成功提示 (#87)
This commit is contained in:
1 parent
5bbce72a68
commit
acf533cdba
6 files changed
+19
-4
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import { AutoloadPage } from 'vj/misc/Page';
|
||||
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();
|
||||
});
|
||||
Reference in new issue
Block a user