mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: update eslint rules
This commit is contained in:
1 parent
0e07c64cad
commit
5e8d2b1286
30 files changed
+73
-72
No files matched your search
@@ -14,7 +14,7 @@ interface UploadOptions {
|
||||
pjax?: boolean;
|
||||
singleFileUploadCallback?: (file: File) => any;
|
||||
}
|
||||
export default async function uploadFiles(endpoint = '', files: File[] | FileList, options: UploadOptions = {}) {
|
||||
export default async function uploadFiles(endpoint = '', files: File[] | FileList = [], options: UploadOptions = {}) {
|
||||
const dialog = new Dialog({
|
||||
$body: `
|
||||
<div class="file-label" style="text-align: center; margin-bottom: 5px; color: gray; font-size: small;"></div>
|
||||
|
||||
Reference in new issue
Block a user