mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
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:
parent
68e21d765c
commit
950ed252ed
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user