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 0cd9f461
authored
Oct 26, 2025
by
Jin Mao
Committed by
GitHub
Oct 26, 2025
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'main' into fix-downloader
2 parents
1d9cd88d
cfbce0d7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
packages/@core/preferences/src/config.ts
packages/effects/plugins/src/echarts/use-echarts.ts
packages/@core/preferences/src/config.ts
View file @
0cd9f46
import
type
{
Preferences
}
from
"./types"
;
import
type
{
Preferences
}
from
'./types'
;
const
defaultPreferences
:
Preferences
=
{
const
defaultPreferences
:
Preferences
=
{
app
:
{
app
:
{
...
@@ -32,7 +32,6 @@ const defaultPreferences: Preferences = {
...
@@ -32,7 +32,6 @@ const defaultPreferences: Preferences = {
watermark
:
false
,
watermark
:
false
,
watermarkContent
:
''
,
watermarkContent
:
''
,
zIndex
:
200
,
zIndex
:
200
,
},
},
breadcrumb
:
{
breadcrumb
:
{
enable
:
true
,
enable
:
true
,
...
...
packages/effects/plugins/src/echarts/use-echarts.ts
View file @
0cd9f46
import
type
{
EChartsOption
}
from
"echarts"
;
import
type
{
EChartsOption
}
from
'echarts'
;
import
type
{
Ref
}
from
"vue"
;
import
type
{
Ref
}
from
'vue'
;
import
{
computed
,
nextTick
,
watch
}
from
"vue"
;
import
type
{
Nullable
}
from
"@vben/types"
;
import
type
{
Nullable
}
from
'@vben/types'
;
import
type
EchartsUI
from
"./echarts-ui.vue"
;
import
type
EchartsUI
from
'./echarts-ui.vue'
;
import
{
usePreferences
}
from
"@vben/preferences"
;
import
{
computed
,
nextTick
,
watch
}
from
'vue'
;
import
{
usePreferences
}
from
'@vben/preferences'
;
import
{
import
{
tryOnUnmounted
,
tryOnUnmounted
,
useDebounceFn
,
useDebounceFn
,
useResizeObserver
,
useResizeObserver
,
useTimeoutFn
,
useTimeoutFn
,
useWindowSize
useWindowSize
,
}
from
"@vueuse/core"
;
}
from
'@vueuse/core'
;
import
echarts
from
"./echarts"
;
import
echarts
from
'./echarts'
;
type
EchartsUIType
=
typeof
EchartsUI
|
undefined
;
type
EchartsUIType
=
typeof
EchartsUI
|
undefined
;
...
@@ -68,7 +69,7 @@ function useEcharts(chartRef: Ref<EchartsUIType>) {
...
@@ -68,7 +69,7 @@ function useEcharts(chartRef: Ref<EchartsUIType>) {
const
renderEcharts
=
(
const
renderEcharts
=
(
options
:
EChartsOption
,
options
:
EChartsOption
,
clear
=
true
clear
=
true
,
):
Promise
<
Nullable
<
echarts
.
ECharts
>>
=>
{
):
Promise
<
Nullable
<
echarts
.
ECharts
>>
=>
{
cacheOptions
=
options
;
cacheOptions
=
options
;
const
currentOptions
=
{
const
currentOptions
=
{
...
...
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