瀏覽代碼

表格数据修改传参调整

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];
             });