|
@@ -259,7 +259,7 @@ export default {
|
|
|
submitUpload() {
|
|
|
this.$refs.upload.submit()
|
|
|
},
|
|
|
- handleChange(file, fileList) {
|
|
|
+ handleChange(response, file, fileList) {
|
|
|
this.fileDbList = []
|
|
|
this.fileList = fileList.slice(-3)
|
|
|
for (var a of this.fileList) {
|
|
@@ -344,8 +344,8 @@ export default {
|
|
|
createFormData(form) {
|
|
|
this.$refs.form.validate((valid) => {
|
|
|
if (valid) {
|
|
|
- form.accessory = this.accessory
|
|
|
form.reopenTimes = parseInt(form.reopenTimes)
|
|
|
+ form.accessory = this.accessory
|
|
|
this.userData = { id: '', ename: this.userInformation, name: this.userNames }
|
|
|
this.objData = { bugBaseInfo: form, user: this.userData }
|
|
|
bugUpdate(this.objData).then(res => {
|