Skip to content

Commit 189a4d0

Browse files
fix:优化上传图片panel显示大小
1 parent bd327da commit 189a4d0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pages/activity/activity.nvue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<u-row justify="center" customStyle='margin:10px 0'>
2020
<u-col span="12" align="center">
2121
<u-upload @afterRead="onPhotoUploadAfterRead" :fileList="uploadFileList" accept="image"
22-
maxCount="1" width='200' height="200"></u-upload>
22+
@delete="onPhotoUploadDelete" maxCount="1" width='400' height="400"></u-upload>
2323
</u-col>
2424
</u-row>
2525
<u-row justify="center">
@@ -89,8 +89,9 @@
8989
}
9090
},
9191
methods: {
92-
93-
92+
onPhotoUploadDelete() {
93+
this.uploadFileList = []
94+
},
9495
/**
9596
* @description 确认选择该图片进行签到
9697
*/

0 commit comments

Comments
 (0)