mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改 pnpm7.x 版本打包时的类型错误
This commit is contained in:
+1
-1
@@ -152,7 +152,7 @@ watch(() => targetData.value?.option?.dataset, (newData: {
|
||||
source: any,
|
||||
dimensions: any
|
||||
} | null) => {
|
||||
if (isObject(newData)) {
|
||||
if (newData && isObject(newData)) {
|
||||
// 只有 Echarts 数据才有对应的格式
|
||||
source.value = isCharts.value ? newData.source : newData
|
||||
if (isCharts.value) {
|
||||
|
||||
@@ -94,7 +94,7 @@ const canvasPositionList = computed(() => {
|
||||
// * 监听鼠标移动
|
||||
watch(
|
||||
() => chartEditStore.getMousePosition,
|
||||
throttle(e => {
|
||||
throttle((e: MouseEvent) => {
|
||||
if (!isComputedLine.value) return
|
||||
// 获取目标组件数据
|
||||
|
||||
|
||||
Reference in New Issue
Block a user