Skip to content

Commit 70c3260

Browse files
committed
fix: revert to [email protected]
1 parent 19cc931 commit 70c3260

File tree

3 files changed

+42
-5
lines changed

3 files changed

+42
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"echarts": "^5.4.3",
4949
"echarts-gl": "^2.0.9",
5050
"echarts-liquidfill": "^3.1.0",
51-
"esbuild-wasm": "^0.19.5",
51+
"esbuild-wasm": "^0.19.2",
5252
"eslint": "^7.32.0",
5353
"eslint-plugin-prettier": "^3.4.1",
5454
"eslint-plugin-vue": "^8.7.1",

pnpm-lock.yaml

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/demo/CodeGen.vue

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,42 @@ onMounted(async () => {
8181
8282
initializing.value = false;
8383
84+
optionCode.value = `{
85+
title: {
86+
text: 'Referer of a Website',
87+
subtext: 'Fake Data',
88+
left: 'center'
89+
},
90+
tooltip: {
91+
trigger: 'item'
92+
},
93+
legend: {
94+
orient: 'vertical',
95+
left: 'left'
96+
},
97+
series: [
98+
{
99+
name: 'Access From',
100+
type: 'pie',
101+
radius: '50%',
102+
data: [
103+
{ value: 1048, name: 'Search Engine' },
104+
{ value: 735, name: 'Direct' },
105+
{ value: 580, name: 'Email' },
106+
{ value: 484, name: 'Union Ads' },
107+
{ value: 300, name: 'Video Ads' }
108+
],
109+
emphasis: {
110+
itemStyle: {
111+
shadowBlur: 10,
112+
shadowOffsetX: 0,
113+
shadowColor: 'rgba(0, 0, 0, 0.5)'
114+
}
115+
}
116+
}
117+
]
118+
}`;
119+
84120
await nextTick();
85121
86122
source.value?.focus();
@@ -238,6 +274,7 @@ onBeforeUnmount(() => {
238274
"
239275
:disabled="initializing"
240276
autofocus
277+
spellcheck="false"
241278
></textarea>
242279
<div class="import-code" @copy="trackCopy('system')">
243280
<code-highlight

0 commit comments

Comments
 (0)