qinzhipeng_v 5 gadi atpakaļ
vecāks
revīzija
38f1ae9797
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/views/Platform/bugManage/bugUpdate.vue

+ 2 - 2
src/views/Platform/bugManage/bugUpdate.vue

@@ -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 => {