mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:18:03 +08:00
样式删多了
This commit is contained in:
parent
112c2b7e15
commit
498a848900
@ -185,3 +185,26 @@
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// todo
|
||||
|
||||
.cropper-wrapper {
|
||||
position: relative;
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
max-height: 400px;
|
||||
}
|
||||
|
||||
.btn {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.btn:nth-child(2n + 1) {
|
||||
bottom: 40px;
|
||||
right: 4px;
|
||||
}
|
||||
}
|
@ -216,7 +216,8 @@ export default class ImageControl extends React.Component<ImageProps, ImageState
|
||||
if (obj && (org = find(this.state.files, item => (item as FileValue).value === obj.value))) {
|
||||
obj = {
|
||||
...org,
|
||||
...obj
|
||||
...obj,
|
||||
id: org.id || obj.id
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user