Sfoglia il codice sorgente

表格数据修改传参调整

lph 1 anno fa
parent
commit
0f74fe9950
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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];
             });