图片预览弹窗宽度控制
This commit is contained in:
parent
224ebbc5ec
commit
7100bed3f5
@ -146,7 +146,7 @@ export default class PhotoWall extends BaseList<PhotoWallPage> {
|
||||
message: h('img', { style: `width:500px;height:${previewHeight}px;`, src: `${pictureCdn}/${row.name}` }, ''),
|
||||
showCancelButton: false,
|
||||
confirmButtonText: '关闭',
|
||||
customStyle: {width: '600px'}
|
||||
customStyle: {width: '530px', maxWidth: 'unset'}
|
||||
}).catch(() => {})
|
||||
}
|
||||
created() {
|
||||
|
||||
@ -155,7 +155,7 @@ export default class SourceImage extends BaseList<Page> {
|
||||
message: h('img', { style: `width:500px`, src: `/api/v1/common/randomBg?id=${row._id}` }, ''),
|
||||
showCancelButton: false,
|
||||
confirmButtonText: '关闭',
|
||||
customStyle: {width: '530px'}
|
||||
customStyle: {width: '530px', maxWidth: 'unset'}
|
||||
}).catch(() => {})
|
||||
}
|
||||
modifyTags(item: SourceImageModel): void {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user