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 8f1b054b
authored
Jun 02, 2024
by
vben
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: some bugs
1 parent
fed47f5e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
8 deletions
apps/antd-view/src/preferences.ts
packages/business/common-ui/src/theme-toggle/theme-toggle.vue
packages/locales/package.json
pnpm-lock.yaml
apps/antd-view/src/preferences.ts
View file @
8f1b054
import
type
{
DeepPartial
,
Preferences
}
from
'@vben/types'
;
import
type
{
DeepPartial
}
from
'@vben/types'
;
import
type
{
Preferences
}
from
'@vben-core/preferences'
;
/**
/**
* @description 项目配置文件
* @description 项目配置文件
...
...
packages/business/common-ui/src/theme-toggle/theme-toggle.vue
View file @
8f1b054
...
@@ -5,7 +5,7 @@ import {
...
@@ -5,7 +5,7 @@ import {
MdiMoonAndStars
,
MdiMoonAndStars
,
}
from
'@vben-core/iconify'
;
}
from
'@vben-core/iconify'
;
import
{
import
{
p
references
,
flatP
references
,
updatePreferences
,
updatePreferences
,
usePreferences
,
usePreferences
,
}
from
'@vben-core/preferences'
;
}
from
'@vben-core/preferences'
;
...
@@ -64,11 +64,10 @@ const PRESETS = [
...
@@ -64,11 +64,10 @@ const PRESETS = [
/>
/>
</
template
>
</
template
>
<ToggleGroup
<ToggleGroup
:model-value=
"preferences.app.t
hemeMode"
v-model=
"flatPreferences.appT
hemeMode"
type=
"single"
type=
"single"
variant=
"outline"
variant=
"outline"
class=
"gap-2"
class=
"gap-2"
@
update:model-value=
"(value) => updatePreference('theme', value)"
>
>
<ToggleGroupItem
<ToggleGroupItem
v-for=
"item in PRESETS"
v-for=
"item in PRESETS"
...
...
packages/locales/package.json
View file @
8f1b054
...
@@ -50,7 +50,6 @@
...
@@ -50,7 +50,6 @@
},
},
"dependencies"
:
{
"dependencies"
:
{
"@intlify/core-base"
:
"^9.13.1"
,
"@intlify/core-base"
:
"^9.13.1"
,
"@vben-core/preferences"
:
"workspace:*"
,
"@vben-core/typings"
:
"workspace:*"
,
"@vben-core/typings"
:
"workspace:*"
,
"vue"
:
"3.4.27"
,
"vue"
:
"3.4.27"
,
"vue-i18n"
:
"^9.13.1"
"vue-i18n"
:
"^9.13.1"
...
...
pnpm-lock.yaml
View file @
8f1b054
...
@@ -771,9 +771,6 @@ importers:
...
@@ -771,9 +771,6 @@ importers:
'
@intlify/core-base'
:
'
@intlify/core-base'
:
specifier
:
^9.13.1
specifier
:
^9.13.1
version
:
9.13.1
version
:
9.13.1
'
@vben-core/preferences'
:
specifier
:
workspace:*
version
:
link:../@vben-core/forward/preferences
'
@vben-core/typings'
:
'
@vben-core/typings'
:
specifier
:
workspace:*
specifier
:
workspace:*
version
:
link:../@vben-core/shared/typings
version
:
link:../@vben-core/shared/typings
...
...
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