hookehuyr

fix(上传组件): 将图片显示模式从widthFix改为aspectFit以保持比例

...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 <image 24 <image
25 :src="uploadedFile.url" 25 :src="uploadedFile.url"
26 class="w-full h-64 object-cover cursor-pointer" 26 class="w-full h-64 object-cover cursor-pointer"
27 - mode="widthFix" 27 + mode="aspectFit"
28 @tap="previewImage" 28 @tap="previewImage"
29 /> 29 />
30 <view 30 <view
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
25 <image 25 <image
26 :src="uploadedFile.url" 26 :src="uploadedFile.url"
27 class="w-full h-64 object-cover cursor-pointer" 27 class="w-full h-64 object-cover cursor-pointer"
28 - mode="widthFix" 28 + mode="aspectFit"
29 @tap="previewImage" 29 @tap="previewImage"
30 /> 30 />
31 <view 31 <view
......