Просмотр исходного кода

注释this.selectionAll.findIndex

CHINAMI-P698360\Administrator 1 год назад
Родитель
Сommit
050197802a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/business/platform/data/templaterender/templates/list.vue

+ 2 - 2
src/business/platform/data/templaterender/templates/list.vue

@@ -729,8 +729,8 @@ export default {
                         tableEl.setSelectionRadio(row)
                         tableEl.setSelectionRadio(row)
                     }
                     }
                     // fixbug: 替换所有选中列表中的数据为最新数据,避免脚本返回的选中数据不更新
                     // fixbug: 替换所有选中列表中的数据为最新数据,避免脚本返回的选中数据不更新
-                    const index = this.selectionAll.findIndex(item => this.getPkValue(item) === pkValue)
-                    this.selectionAll[index] = row
+                    // const index = this.selectionAll.findIndex(item => this.getPkValue(item) === pkValue)
+                    // this.selectionAll[index] = row
                 }
                 }
             })
             })
         },
         },