修复ui可能会被多次加载的问题

This commit is contained in:
undefined committed 2020-07-21 19:45:06 +08:00
1 parent bfc2e95ef5
commit 162d93e5db
4 files changed
+100 -63

No files matched your search

+7 -6
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "2.9.6",
"version": "2.9.8",
"main": "dist/loader.js",
"bin": "bin/hydrooj.js",
"repository": "https://github.com/hydro-dev/Hydro.git",
@@ -31,7 +31,7 @@
"moment-timezone": "^0.5.31",
"mongodb": "^3.5.9",
"nodemailer": "^6.4.10",
"nunjucks": "^3.2.1",
"nunjucks": "^3.2.2",
"prismjs": "^1.20.0",
"serialize-javascript": "^4.0.0",
"sockjs": "^0.3.20",
@@ -53,7 +53,7 @@
"@types/lru-cache": "^5.1.0",
"@types/markdown-it": "^10.0.1",
"@types/mongodb": "^3.5.25",
"@types/node": "^14.0.22",
"@types/node": "^14.0.24",
"@types/nodemailer": "^6.4.0",
"@types/nunjucks": "^3.1.3",
"@types/prismjs": "^1.16.1",
@@ -62,12 +62,13 @@
"@types/superagent": "^4.1.8",
"@types/superagent-proxy": "^2.0.0",
"@types/yargs": "^15.0.5",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"eslint": "^7.5.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.20.2",
"ts-node": "^8.10.2",
"typescript": "^3.9.7"
},
"scripts": {
@@ -75,4 +76,4 @@
"build:watch": "tsc --watch",
"lint": "eslint bin hydro tool --ext ts,js --fix"
}
}
}