mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 支持限制题目的提交语言
This commit is contained in:
1 parent
f33d440b68
commit
75429bb43b
10 files changed
+44
-25
No files matched your search
@@ -284,7 +284,8 @@ const t = Math.exp(-0.15);
|
||||
|
||||
async function updateSort() {
|
||||
const cursor = document.coll.find({ docType: document.TYPE_DISCUSSION });
|
||||
while (cursor.hasNext()) {
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
while (await cursor.hasNext()) {
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
const data = await cursor.next();
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
|
||||
Reference in new issue
Block a user