mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
style: 去除多余代码
This commit is contained in:
parent
78626b3c04
commit
cfa69baaa3
@ -52,9 +52,6 @@ export const useChartDataFetch = (
|
||||
if (vChartRef.value) {
|
||||
vChartRef.value.setOption({ dataset: res.data })
|
||||
}
|
||||
} else {
|
||||
// 若遵守规范使用 dataset 作为数据 key,则会自动赋值数据
|
||||
targetComponent.option.dataset && (targetComponent.option.dataset = res.data)
|
||||
}
|
||||
// 更新回调函数
|
||||
if (updateCallback) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user