Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 99c7fd72
authored
Jan 09, 2025
by
Netfan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: code lint
1 parent
2828e7a7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
docs/.vitepress/components/preview-group.vue
packages/@core/ui-kit/menu-ui/src/components/menu.vue
playground/src/views/examples/vxe-table/form.vue
docs/.vitepress/components/preview-group.vue
View file @
99c7fd7
<
script
setup
lang=
"ts"
>
import
type
{
SetupContext
}
from
'vue'
;
import
{
computed
,
ref
,
useSlots
}
from
'vue'
;
import
{
VbenTooltip
}
from
'@vben-core/shadcn-ui'
;
...
...
@@ -25,7 +27,7 @@ const props = withDefaults(
const
open
=
ref
(
false
);
const
slots
=
useSlots
();
const
slots
:
SetupContext
[
'slots'
]
=
useSlots
();
const
tabs
=
computed
(()
=>
{
return
props
.
files
.
map
((
file
)
=>
{
...
...
packages/@core/ui-kit/menu-ui/src/components/menu.vue
View file @
99c7fd7
<
script
lang=
"ts"
setup
>
import
type
{
UseResizeObserverReturn
}
from
'@vueuse/core'
;
import
type
{
VNodeArrayChildren
}
from
'vue'
;
import
type
{
SetupContext
,
VNodeArrayChildren
}
from
'vue'
;
import
type
{
MenuItemClicked
,
...
...
@@ -55,7 +55,7 @@ const emit = defineEmits<{
const
{
b
,
is
}
=
useNamespace
(
'menu'
);
const
menuStyle
=
useMenuStyle
();
const
slots
=
useSlots
();
const
slots
:
SetupContext
[
'slots'
]
=
useSlots
();
const
menu
=
ref
<
HTMLUListElement
>
();
const
sliceIndex
=
ref
(
-
1
);
const
openedMenus
=
ref
<
MenuProvider
[
'openedMenus'
]
>
(
...
...
playground/src/views/examples/vxe-table/form.vue
View file @
99c7fd7
...
...
@@ -61,7 +61,7 @@ const formOptions: VbenFormProps = {
},
{
component
:
'RangePicker'
,
defaultValue
:
[
dayjs
().
subtract
(
-
7
,
'days'
),
dayjs
()],
defaultValue
:
[
dayjs
().
subtract
(
7
,
'days'
),
dayjs
()],
fieldName
:
'date'
,
label
:
'Date'
,
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment