소스 검색

表格数据修改传参调整

lph 1 년 전
부모
커밋
0f74fe9950
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      ruoyi-ui/src/views/tablelist/commonTable/listInfo.vue

+ 2 - 1
ruoyi-ui/src/views/tablelist/commonTable/listInfo.vue

@@ -575,8 +575,9 @@ export default {
               conditionMap: {},
               commMap: {},
             };
+
             updateData.conditionMap[this.templateInfo.template?.primaryKey] =
-              values[this.templateInfo.template?.primaryKey];
+              this.defaultValue[this.templateInfo.template?.primaryKey];
             Object.keys(values).map((k) => {
               updateData.commMap[k] = values[k];
             });