董国庆
2025-03-18 02ac988927e5ef3a3aef8f5ae664c3792d6e4e51
H5/pages/add-progress/index.vue
@@ -218,6 +218,15 @@
               uni.chooseVideo({
                  camera: 'back',
                  success: (res) => {
                     const videoExtensions = /\.(mp4|avi|rmvb)$/i;
                     if (!videoExtensions.test(res.name)) {
                        uni.showToast({
                           title: '请上传mp4, avi, rmvb格式的视频',
                           icon: 'none',
                           duration: 3000
                        })
                        return
                     }
                     this.video.push('loading')
                     this.againCklicFlag = true
                     const tempFilePath = res.tempFilePath;