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
59ad8244
Commit
59ad8244
authored
Dec 06, 2020
by
vben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(table): fix table setting error
parent
de1f0062
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
3 deletions
+17
-3
CHANGELOG.zh_CN.md
CHANGELOG.zh_CN.md
+1
-0
TableSetting.vue
src/components/Table/src/components/TableSetting.vue
+3
-2
constant.ts
src/router/constant.ts
+13
-1
No files found.
CHANGELOG.zh_CN.md
View file @
59ad8244
...
...
@@ -29,6 +29,7 @@
-
修复表格 i18n 错误
-
修复菜单图标大小不一致
-
修复顶部菜单宽度计算问题
-
修复表格 tabSetting 问题
## 2.0.0-rc.12 (2020-11-30)
...
...
src/components/Table/src/components/TableSetting.vue
View file @
59ad8244
...
...
@@ -158,8 +158,9 @@
value
:
(
item
.
dataIndex
||
item
.
title
)
as
string
,
});
});
if
(
!
plainOptions
.
value
.
length
)
{
plainOptions
.
value
=
ret
;
}
const
checkList
=
table
.
getColumns
()
.
map
((
item
)
=>
item
.
dataIndex
||
item
.
title
)
as
string
[];
...
...
src/router/constant.ts
View file @
59ad8244
...
...
@@ -25,11 +25,23 @@ export const getParentLayout = (name: string) => {
export
const
PAGE_NOT_FOUND_ROUTE
:
AppRouteRecordRaw
=
{
path
:
'
/:path(.*)*
'
,
name
:
'
ErrorPage
'
,
redirect
:
'
/error/404
'
,
component
:
LAYOUT
,
meta
:
{
title
:
'
ErrorPage
'
,
hideBreadcrumb
:
true
,
},
children
:
[
{
path
:
'
/error/404
'
,
name
:
'
ErrorPage
'
,
component
:
EXCEPTION_COMPONENT
,
meta
:
{
title
:
'
ErrorPage
'
,
hideBreadcrumb
:
true
,
},
},
],
};
export
const
REDIRECT_NAME
=
'
Redirect
'
;
...
...
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