core: 添加加域成功提示 (#87)

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