|
|
@@ -577,7 +577,6 @@ export default {
|
|
|
usage: this.project.usage,
|
|
|
}
|
|
|
Http.put(Apis.PROJECT.UPDATE_PROJECT.replace('{projectId}', this.projectId), newProject).then((res) => {
|
|
|
- console.log('bb')
|
|
|
console.log(res)
|
|
|
this.projectId = res.projectDetails.id
|
|
|
this.project.name = res.projectDetails.name
|
|
|
@@ -880,6 +879,7 @@ export default {
|
|
|
notify('success', '需求文档上传成功')
|
|
|
}).catch((error) => {
|
|
|
this.hideLoading()
|
|
|
+ this.project.doc = []
|
|
|
notify('error', '需求文档上传失败:' + error.data)
|
|
|
})
|
|
|
},
|
|
|
@@ -897,6 +897,7 @@ export default {
|
|
|
notify('success', '文件上传成功')
|
|
|
}).catch((error) => {
|
|
|
this.hideLoading()
|
|
|
+ this.project.file = []
|
|
|
notify('error', '文件上传失败')
|
|
|
})
|
|
|
},
|