Skip to content

Commit

Permalink
fix:修复crud unSelectedItems无法在公式内解析问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hsm-lv committed Jan 3, 2024
1 parent d9ace50 commit b7d041b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/amis-core/src/store/crud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ export const CRUDStore = ServiceStore.named('CRUDStore')
return extendObject(self.data, {
...self.query,
...self.data,
selectedItems: self.selectedItems,
unSelectedItems: self.unSelectedItems
selectedItems: self.selectedItems.concat(),
unSelectedItems: self.unSelectedItems.concat()
});
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3194,7 +3194,6 @@ exports[`13. enderer: crud keepItemSelectionOnPageChange & maxKeepItemSelectionL
data-role="checkbox"
>
<input
disabled=""
type="checkbox"
/>
<i />
Expand Down Expand Up @@ -3245,7 +3244,6 @@ exports[`13. enderer: crud keepItemSelectionOnPageChange & maxKeepItemSelectionL
data-role="checkbox"
>
<input
disabled=""
type="checkbox"
/>
<i />
Expand Down Expand Up @@ -3296,7 +3294,6 @@ exports[`13. enderer: crud keepItemSelectionOnPageChange & maxKeepItemSelectionL
data-role="checkbox"
>
<input
disabled=""
type="checkbox"
/>
<i />
Expand Down Expand Up @@ -3347,7 +3344,6 @@ exports[`13. enderer: crud keepItemSelectionOnPageChange & maxKeepItemSelectionL
data-role="checkbox"
>
<input
disabled=""
type="checkbox"
/>
<i />
Expand Down Expand Up @@ -3398,7 +3394,6 @@ exports[`13. enderer: crud keepItemSelectionOnPageChange & maxKeepItemSelectionL
data-role="checkbox"
>
<input
disabled=""
type="checkbox"
/>
<i />
Expand Down Expand Up @@ -3449,7 +3444,6 @@ exports[`13. enderer: crud keepItemSelectionOnPageChange & maxKeepItemSelectionL
data-role="checkbox"
>
<input
disabled=""
type="checkbox"
/>
<i />
Expand Down

0 comments on commit b7d041b

Please sign in to comment.