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
e76e047c
Commit
e76e047c
authored
Aug 30, 2021
by
Sendya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: popupClassName typo
parent
b798c467
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
BaseMenu.tsx
src/SiderMenu/BaseMenu.tsx
+1
-1
vite.config.ts
vite.config.ts
+3
-2
No files found.
src/SiderMenu/BaseMenu.tsx
View file @
e76e047c
...
@@ -177,7 +177,7 @@ class MenuUtil {
...
@@ -177,7 +177,7 @@ class MenuUtil {
<
MenuComponent
<
MenuComponent
title=
{
defaultTitle
}
title=
{
defaultTitle
}
key=
{
item
.
path
}
key=
{
item
.
path
}
popupClassName=
{
hasGroup
?
null
:
`${prefixCls}-menu-popup`
}
popupClassName=
{
hasGroup
?
undefined
:
`${prefixCls}-menu-popup`
}
icon=
{
hasGroup
?
null
:
<
LazyIcon
icon=
{
item
.
meta
?.
icon
}
/>
}
icon=
{
hasGroup
?
null
:
<
LazyIcon
icon=
{
item
.
meta
?.
icon
}
/>
}
>
>
{
this
.
getNavMenuItems
(
item
.
children
)
}
{
this
.
getNavMenuItems
(
item
.
children
)
}
...
...
vite.config.ts
View file @
e76e047c
...
@@ -27,13 +27,14 @@ export default defineConfig({
...
@@ -27,13 +27,14 @@ export default defineConfig({
name
:
'ProLayout'
,
name
:
'ProLayout'
,
},
},
rollupOptions
:
{
rollupOptions
:
{
external
:
[
'vue'
,
'@ant-design/icons-vue'
,
'ant-design-vue'
,
'antd'
,
'moment'
],
external
:
[
'vue'
,
'
vue-router'
,
'
@ant-design/icons-vue'
,
'ant-design-vue'
,
'antd'
,
'moment'
],
output
:
{
output
:
{
exports
:
"named"
,
exports
:
'named'
,
// Provide global variables to use in the UMD build
// Provide global variables to use in the UMD build
// for externalized deps
// for externalized deps
globals
:
{
globals
:
{
vue
:
'Vue'
,
vue
:
'Vue'
,
'vue-router'
:
'VueRouter'
,
moment
:
'moment'
,
moment
:
'moment'
,
'ant-design-vue'
:
'antd'
,
'ant-design-vue'
:
'antd'
,
'@ant-design/icons-vue'
:
'iconsVue'
,
'@ant-design/icons-vue'
:
'iconsVue'
,
...
...
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