WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-07-08 8726e3080bd889ea67ceb26f9ca7039025e20452
forms/imagePicker/CImagePicker.vue
@@ -31,7 +31,7 @@
import Taro from '@tarojs/taro';
import { $ } from '@tarojs/extend';
import { AtInput, AtImagePicker, AtCurtain } from 'taro-ui-vue';
import { $fetcherCommon } from '@fetchers/FCommon';
import { $fetchCommon } from '@fetchers/FCommon';
import CImageCompressor from './CImageCompressor.vue';
import './cImagePicker.scss';
@@ -137,7 +137,7 @@
            });
        },
        $uploadImage(callback) {
            const url = $fetcherCommon.getUploadImgURL();
            const url = $fetchCommon.getUploadImgURL();
            const uploadTeam = [];
            const imgs = [];
            this.files.forEach(file => {
@@ -160,7 +160,7 @@
                                            : res.data;
                                    if (res2.state.code === 2000) {
                                        resolve(
                                            $fetcherCommon.transImgPath(
                                            $fetchCommon.transImgPath(
                                                'fix',
                                                res2.data.src
                                            )