Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pro-layout
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
packages
pro-layout
Commits
11df1e78
Commit
11df1e78
authored
Aug 23, 2021
by
Sendya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
3023bbee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
package.json
package.json
+1
-1
index.tsx
src/PageContainer/index.tsx
+0
-2
No files found.
package.json
View file @
11df1e78
{
{
"name"
:
"@ant-design-vue/pro-layout"
,
"name"
:
"@ant-design-vue/pro-layout"
,
"version"
:
"3.1.0-alpha.
9
"
,
"version"
:
"3.1.0-alpha.
10
"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
"files"
:
[
"files"
:
[
"dist"
,
"dist"
,
...
...
src/PageContainer/index.tsx
View file @
11df1e78
...
@@ -208,7 +208,6 @@ const defaultPageHeaderRender = (
...
@@ -208,7 +208,6 @@ const defaultPageHeaderRender = (
if
(
!
title
&&
title
!==
false
)
{
if
(
!
title
&&
title
!==
false
)
{
pageHeaderTitle
=
value
.
title
;
pageHeaderTitle
=
value
.
title
;
}
}
console
.
info
(
'value.breadcrumb'
,
value
.
breadcrumb
);
const
breadcrumb
=
restProps
.
breadcrumb
||
{
const
breadcrumb
=
restProps
.
breadcrumb
||
{
...(
value
.
breadcrumb
||
{}),
...(
value
.
breadcrumb
||
{}),
routes
:
unref
(
value
.
breadcrumb
?.
routes
),
routes
:
unref
(
value
.
breadcrumb
?.
routes
),
...
@@ -254,7 +253,6 @@ const PageContainer = defineComponent({
...
@@ -254,7 +253,6 @@ const PageContainer = defineComponent({
const
headerContent
=
getPropsSlot
(
slots
,
props
,
'content'
);
const
headerContent
=
getPropsSlot
(
slots
,
props
,
'content'
);
const
extra
=
getPropsSlot
(
slots
,
props
,
'extra'
);
const
extra
=
getPropsSlot
(
slots
,
props
,
'extra'
);
const
extraContent
=
getPropsSlot
(
slots
,
props
,
'extraContent'
);
const
extraContent
=
getPropsSlot
(
slots
,
props
,
'extraContent'
);
console
.
info
(
'value'
,
value
);
return
(
return
(
<
div
class=
{
`${prefixedClassName.value}-warp`
}
>
<
div
class=
{
`${prefixedClassName.value}-warp`
}
>
{
defaultPageHeaderRender
(
{
defaultPageHeaderRender
(
...
...
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