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();
});
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.5.8",
"version": "4.5.9",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",