revert: 同步下最新的input-image (#7795)

* chore: 同步下最新的input-image

* fix: 修复多选时,重新上传无效

* fix: 修复多选时,重新上传无效

* fix: 修复树组件懒加载情况下,第一次点击节点展开后收起,再点击其他根节点懒加载时,第一次点击节点显示异常问题

* Revert "chore: 同步下最新的input-image"

This reverts commit f8f5ea0d334786cc385f5dc3777f0c27da39de7e.

* fix: 修复多选时,重新上传无效

* fix: 修复多选时,重新上传无效

* fix: 修复树组件懒加载情况下,第一次点击节点展开后收起,再点击其他根节点懒加载时,第一次点击节点显示异常问题

---------

Co-authored-by: sailei <826196460@qq.com>
This commit is contained in:
sqzhou 2023-08-14 09:49:57 +08:00 committed by GitHub
parent 68e21d765c
commit 950ed252ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -588,6 +588,13 @@ export default class ImageControl extends React.Component<
return key;
}
getFileKey(file: FileValue | FileX) {
if (file.id) {
return file.id;
}
return guid();
}
buildCrop(props: ImageProps) {
let crop = props.crop;
const __ = this.props.translate;