Browse Source

深拷贝

wangziqian 4 năm trước cách đây
mục cha
commit
23deb5daf4

+ 2 - 2
src/views/projectManage/bugList/details/bugTableDialog.vue

@@ -158,13 +158,13 @@ export default {
       return arr
     },
     bugGetTableList(e, index) {
-      this.queryData = _.cloneDeep(e)
+      this.queryData = e
       this.data = {}
       if (index) {
         this.currentPage = 1
         this.curIndex = 1
       }
-      this.data = this.queryData
+      this.data = _.cloneDeep(this.queryData)
       this.data.bizId = this.bizId
       this.data.pageSize = this.pageSize
       this.data.curIndex = this.curIndex