|
@@ -702,8 +702,8 @@ export default {
|
|
|
|
|
|
beforeUpload(file) {
|
|
beforeUpload(file) {
|
|
// ${this.form.project}
|
|
// ${this.form.project}
|
|
- this.uploadAction= `http://api.tjyourong.com.cn/jeecg-boot/platform/file/uploadAttachment?projectId=772`
|
|
|
|
- // this.uploadAction= `http://139.186.151.174:8804/jeecg-boot/platform/file/uploadAttachment?projectId=772`
|
|
|
|
|
|
+ this.uploadAction= `http://api.tjyourong.com.cn/jeecg-boot/platform/file/uploadAttachment?projectId=${this.form.project}`
|
|
|
|
+ // this.uploadAction= `http://139.186.151.174:8804/jeecg-boot/platform/file/uploadAttachment?projectId=${this.form.project}`
|
|
this.loadDisabled = true
|
|
this.loadDisabled = true
|
|
const size = (Number(file.size) / (1024 * 1024)).toFixed(2)
|
|
const size = (Number(file.size) / (1024 * 1024)).toFixed(2)
|
|
const fileName = file.name
|
|
const fileName = file.name
|