董国庆
2025-03-18 02ac988927e5ef3a3aef8f5ae664c3792d6e4e51
videobi变化
2个文件已修改
18 ■■■■■ 已修改文件
H5/pages/add-progress/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/pages/evaluate/evaluate.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;
H5/pages/evaluate/evaluate.vue
@@ -209,6 +209,15 @@
                    uni.chooseVideo({
                        count: 9 - this.video.length,
                        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')
                            const tempFilePath = res.tempFilePath;
                            uni.uploadFile({