mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: support file renaming (#688)
Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
1 parent
746efef9bf
commit
01cb6944b7
19 files changed
+496
-144
No files matched your search
@@ -289,7 +289,7 @@ function buildSearchContainer() {
|
||||
async function handleDownload(ev) {
|
||||
let name = 'Export';
|
||||
// eslint-disable-next-line no-alert
|
||||
if (ev.shiftKey) name = prompt('Filename:', name);
|
||||
if (ev.shiftKey) name = prompt(i18n('Filename'), name);
|
||||
const pids = ensureAndGetSelectedPids();
|
||||
if (pids) await downloadProblemSet(pids, name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user