Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

n-upload: when setting prop 'multiple="true"' as well as 'v-model:file-list="file-list"', multiple upload not work. only one last file selected. n-upload 设置 multiple="true"的时候,如果同时绑定 v-model:file-list="file-list"时,多选上传失效,只能上传一个 #418

Closed
madgd opened this issue Jul 6, 2021 · 1 comment · Fixed by #1125
Assignees
Labels
bug Something isn't working priority: high

Comments

@madgd
Copy link

madgd commented Jul 6, 2021

TuSimple/naive-ui version (版本)

2.15.3

Vue version (Vue 版本)

3.1.4

Browser and its version (浏览器及其版本)

91.0.4472.114

System and its version (系统及其版本)

MacOS(11.4)

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/eloquent-shaw-339jm?file=/src/Demo.vue

Reappearance steps (重现步骤)

add multiple="true" to n-upload, try upload multiple files.

Expected results (期望的结果)

multiple files added.

Actual results (实际的结果)

last one added

Remarks (补充说明)

if remove 'v-model:file-list="file-list"', multiple files added

@Fnzero Fnzero added the bug Something isn't working label Jul 7, 2021
@Fnzero Fnzero self-assigned this Jul 8, 2021
@07akioni
Copy link
Collaborator

@Fnzero 这个优先处理一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: high
Projects
None yet
3 participants