| | |
| | | // uni.$u.toast('提交成功!') |
| | | result.data.forEach(i => { |
| | | that.fileList.push({ |
| | | uri: 'http://121.196.36.24:8019/' + i, |
| | | uri: that.$baseUrl.split('api')[0] + i, |
| | | name: i |
| | | }) |
| | | |
| | | that.imgPreviewSrcs.push( |
| | | 'http://121.196.36.24:8019/' + i) |
| | | that.$baseUrl.split('api')[0] + i) |
| | | }) |
| | | } else { |
| | | uni.$u.toast(result.Message) |
| | |
| | | // uni.$u.toast('提交成功!') |
| | | result.data.forEach(i => { |
| | | that.fileList2.push({ |
| | | uri: 'http://121.196.36.24:8019/' + |
| | | uri: that.$baseUrl.split('api')[ |
| | | 0] + |
| | | i, |
| | | name: i |
| | | }) |
| | | |
| | | that.imgPreviewSrcs2.push( |
| | | 'http://121.196.36.24:8019/' + i) |
| | | that.$baseUrl.split('api')[0] + i) |
| | | }) |
| | | } else { |
| | | uni.$u.toast(result.Message) |