Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
b4a3f936
Commit
b4a3f936
authored
Jun 30, 2021
by
无木
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(table): global configuration accidentally modified
修复table的全局配置可能被意外修改的问题
parent
16c5d327
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+1
-0
useDataSource.ts
src/components/Table/src/hooks/useDataSource.ts
+1
-0
No files found.
CHANGELOG.zh_CN.md
View file @
b4a3f936
...
@@ -18,6 +18,7 @@
...
@@ -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)
...
...
src/components/Table/src/hooks/useDataSource.ts
View file @
b4a3f936
...
@@ -176,6 +176,7 @@ export function useDataSource(
...
@@ -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
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment