瀏覽代碼

对象被污染,参数多传了导致后端解析异常 bug

xgb 1 月之前
父節點
當前提交
05b0d36bf5
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7 2
      src/views/qw/externalContact/deptIndex.vue

+ 7 - 2
src/views/qw/externalContact/deptIndex.vue

@@ -1774,9 +1774,14 @@ export default {
         spinner: 'el-icon-loading',
         spinner: 'el-icon-loading',
         background: 'rgba(0, 0, 0, 0.7)'
         background: 'rgba(0, 0, 0, 0.7)'
       });
       });
+      const requestData = {
+        userIds: this.ids,
+        notes: this.notesOpen.notes,
+        type: this.notesOpen.type,
+        nameType: this.notesOpen.nameType
+      };
 
 
-
-      batchUpdateExternalContactNotes({userIds:this.ids,notes:this.notesOpen.notes,type:this.notesOpen.type,nameType:this.notesOpen.nameType}).then(res => {
+      batchUpdateExternalContactNotes(requestData).then(res => {
 
 
         this.resultMessage = res.msg;
         this.resultMessage = res.msg;
         this.resultDialogVisible = true; // 显示弹窗
         this.resultDialogVisible = true; // 显示弹窗