mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-23 06:32:27 +08:00
Merge pull request #159 from gp0119/main
fix(BasicUpload): 修复默认图片不显示bug,默认图片加载错误时删除按钮不显示bug
This commit is contained in:
@@ -112,7 +112,8 @@
|
|||||||
state.imgList = props.value.map((item) => {
|
state.imgList = props.value.map((item) => {
|
||||||
return getImgUrl(item);
|
return getImgUrl(item);
|
||||||
});
|
});
|
||||||
}
|
},
|
||||||
|
{ immediate: true }
|
||||||
);
|
);
|
||||||
|
|
||||||
//预览
|
//预览
|
||||||
@@ -236,6 +237,7 @@
|
|||||||
&-info {
|
&-info {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user