Skip to content

Commit

Permalink
feat(input): 添加文件上传支持拖拽功能
Browse files Browse the repository at this point in the history
  • Loading branch information
weibaohui committed Jan 9, 2025
1 parent 59d1c4f commit a5e7d4c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions assets/pages/apply/apply.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"type": "input-file",
"name": "file",
"accept": "*",
"asBlob": true
"asBlob": true,
"drag": true
},
{
"type": "input-text",
Expand Down Expand Up @@ -114,5 +115,4 @@
]
}
]
}

}
3 changes: 2 additions & 1 deletion assets/pages/ns/configmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,8 @@
"type": "input-file",
"name": "file",
"accept": "*",
"asBlob": true
"asBlob": true,
"drag": true
},
{
"type": "input-text",
Expand Down
3 changes: 2 additions & 1 deletion assets/pages/ns/pod.json
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,8 @@
"type": "input-file",
"name": "file",
"accept": "*",
"asBlob": true
"asBlob": true,
"drag": true
},
{
"type": "input-text",
Expand Down

0 comments on commit a5e7d4c

Please sign in to comment.