Skip to content

Commit b7a3077

Browse files
committed
fix: Ecarts rendering error (#4009)
1 parent e23a126 commit b7a3077

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/src/components/markdown/EchartsRander.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const chartsRef = ref()
1212
1313
const style = ref({
1414
height: '220px',
15-
width: '100%'
15+
width: '100%',
1616
})
1717
1818
function initChart() {
@@ -44,7 +44,7 @@ function evalParseOption(option_json: any) {
4444
if (option_json.style) {
4545
style.value = option_json.style
4646
}
47-
const option = {}
47+
let option = {}
4848
tmp.value = echarts
4949
eval(option_json.option)
5050
return option
@@ -62,7 +62,7 @@ watch(
6262
initChart()
6363
})
6464
}
65-
}
65+
},
6666
)
6767
6868
onMounted(() => {

0 commit comments

Comments
 (0)