mirror of
https://github.com/vbenjs/gf-vben-admin.git
synced 2025-02-03 03:32:59 +08:00
fix(table): global configuration accidentally modified
修复table的全局配置可能被意外修改的问题
This commit is contained in:
parent
16c5d327f1
commit
b4a3f936cd
@ -18,6 +18,7 @@
|
|||||||
- **Menu** 修复路由映射模式下,单级菜单刷新不会激活
|
- **Menu** 修复路由映射模式下,单级菜单刷新不会激活
|
||||||
- 修复`ROLE`权限模式下`hasPermission`不工作的问题
|
- 修复`ROLE`权限模式下`hasPermission`不工作的问题
|
||||||
- **Table** 修复启用`clickToRowSelect`时,点击行不会触发`selection-change`事件的问题
|
- **Table** 修复启用`clickToRowSelect`时,点击行不会触发`selection-change`事件的问题
|
||||||
|
- **Table** 修复全局配置`fetchSetting`可能会被局部配置意外修改的问题
|
||||||
|
|
||||||
## 2.5.2(2021-06-27)
|
## 2.5.2(2021-06-27)
|
||||||
|
|
||||||
|
@ -176,6 +176,7 @@ export function useDataSource(
|
|||||||
try {
|
try {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
const { pageField, sizeField, listField, totalField } = Object.assign(
|
const { pageField, sizeField, listField, totalField } = Object.assign(
|
||||||
|
{},
|
||||||
FETCH_SETTING,
|
FETCH_SETTING,
|
||||||
fetchSetting
|
fetchSetting
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user