| | |
| | | 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'; |
| | | |
| | |
| | | }); |
| | | }, |
| | | $uploadImage(callback) { |
| | | const url = $fetcherCommon.getUploadImgURL(); |
| | | const url = $fetchCommon.getUploadImgURL(); |
| | | const uploadTeam = []; |
| | | const imgs = []; |
| | | this.files.forEach(file => { |
| | |
| | | : res.data; |
| | | if (res2.state.code === 2000) { |
| | | resolve( |
| | | $fetcherCommon.transImgPath( |
| | | $fetchCommon.transImgPath( |
| | | 'fix', |
| | | res2.data.src |
| | | ) |