绿满眶商城微信小程序-uniapp
xiangpei
2025-07-09 da1e3dbfc622f7f581d19a56c7e4d3abe13563e1
pages/tabbar/video/video.vue
@@ -208,7 +208,7 @@
import '@/components/uview-components/uview-ui';
import MyTag from '@/components/my-tag.vue'
import { getSTSToken, getFilePreviewUrl } from "@/api/common.js";
import { getSTSToken } from "@/api/common.js";
import { publish } from "@/api/video.js";
import { getRecommendTag3 } from "@/api/video-tag.js";
import { getFileKey } from "@/utils/file.js";
@@ -488,7 +488,7 @@
           let fileName = tmpImg.substring(tmpImg.lastIndexOf('/') + 1);
           // 处理安卓可能的URI编码
           if(fileName.indexOf('%') > -1) {
                        fileName = decodeURIComponent(fileName);
            fileName = decodeURIComponent(fileName);
           }
           const fileKey = getFileKey(fileName);
           this.cosClient.uploadFile({