| | |
| | | if (res.status == 200) {
|
| | | this.upFileAsArrayBuffer('http://47.108.239.173:2020/api/oss/upload_file', e.file, { methods: 'POST', fileName: res.data.data }).then(resp => {
|
| | | if (resp.data.status === 0) {
|
| | | this[`fileList${value}`].push({ name: obj.originalName, url: 'http://47.108.239.173:2020/api/oss/download/' + resp.data.data })
|
| | | console.log(resp.data, 'resp.data.data');
|
| | | |
| | | this[`fileList${value}`].push({ name: obj.originalName, url: 'http://47.108.239.173:2020/api/oss/download/' + res.data.data })
|
| | | this.$forceUpdate()
|
| | | }
|
| | | })
|