USER-20230908AJ\Administrator hace 1 año
padre
commit
5eec5986c8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      page_task/credit_upload/camera.vue

+ 1 - 1
page_task/credit_upload/camera.vue

@@ -92,7 +92,7 @@ export default {
       uni.chooseMedia({
       uni.chooseMedia({
         count: this.fileNum, //默认9
         count: this.fileNum, //默认9
         mediaType: 'image', //可以指定是原图还是压缩图
         mediaType: 'image', //可以指定是原图还是压缩图
-        sourceType: 'album',
+        sourceType:[ 'album'],
         success: (res) => {
         success: (res) => {
           tools.showLoading()
           tools.showLoading()
           if (res.tempFiles !== undefined) {
           if (res.tempFiles !== undefined) {