Showing
1 changed file
with
2 additions
and
1 deletions
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | <view class="info" style="margin-top: 15rpx;background: rgba(1, 1, 1, 0);"> | 24 | <view class="info" style="margin-top: 15rpx;background: rgba(1, 1, 1, 0);"> |
25 | <view class="info-contain"> | 25 | <view class="info-contain"> |
26 | <u-form-item label="图片" prop="feedbackInfo.images" borderBottom ref="item1"> | 26 | <u-form-item label="图片" prop="feedbackInfo.images" borderBottom ref="item1"> |
27 | - <u-upload :sizeType="compressed" :fileList="fileList1" @afterRead="afterRead" | 27 | + <u-upload :capture="capture" :fileList="fileList1" @afterRead="afterRead" |
28 | @delete="deletePic" name="1" multiple :maxCount="6"></u-upload> | 28 | @delete="deletePic" name="1" multiple :maxCount="6"></u-upload> |
29 | </u-form-item> | 29 | </u-form-item> |
30 | </view> | 30 | </view> |
@@ -57,6 +57,7 @@ | @@ -57,6 +57,7 @@ | ||
57 | export default { | 57 | export default { |
58 | data() { | 58 | data() { |
59 | return { | 59 | return { |
60 | + capture: ['album'], | ||
60 | feedbackData: { | 61 | feedbackData: { |
61 | feedbackInfo: { | 62 | feedbackInfo: { |
62 | title: '', | 63 | title: '', |