We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.7.2
macOS 13.6 / 124.0.6367.93(正式版本) (arm64)
3.5.0-alpha.1
https://github.com/element-plus/element-plus/issues
element-plus官网upload组件示例第一个例子,把绑定的v-model:file-list="fileList"改为:file-list="fileList", 两张图片,删除一张,会直接篡改当前组件的fileList的值
没有使用v-model来进行绑定的时候,不应该直接篡改调用方(el-upload组件的地方)绑定的fileList的值
el-upload内部的uploadFiles定义时,调用useVModel时第四个参数option里应当传递clone:true,deep:true
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Element Plus version
2.7.2
OS/Browsers version
macOS 13.6 / 124.0.6367.93(正式版本) (arm64)
Vue version
3.5.0-alpha.1
Reproduction Link
https://github.com/element-plus/element-plus/issues
Steps to reproduce
element-plus官网upload组件示例第一个例子,把绑定的v-model:file-list="fileList"改为:file-list="fileList",
两张图片,删除一张,会直接篡改当前组件的fileList的值
What is Expected?
没有使用v-model来进行绑定的时候,不应该直接篡改调用方(el-upload组件的地方)绑定的fileList的值
What is actually happening?
el-upload内部的uploadFiles定义时,调用useVModel时第四个参数option里应当传递clone:true,deep:true
The text was updated successfully, but these errors were encountered: