mirror of
https://gitee.com/yudaocode/yudao-mall-uniapp.git
synced 2025-12-30 09:42:25 +00:00
su-image组件width判断条件修改
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
const customStyle = computed(() => {
|
||||
return {
|
||||
height: (props.height || state.imgHeight) + 'rpx',
|
||||
width: props.width + 'rpx',
|
||||
width: props.width ? props.width + 'rpx' : '100%',
|
||||
borderRadius: props.radius ? props.radius + 'rpx' : '',
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user