Skip to content

Commit 9d5dfd1

Browse files
committed
fix: fix ts-error for temp-release
1 parent fe012c4 commit 9d5dfd1

File tree

2 files changed

+3
-3
lines changed
  • packages/vmind/src/atom

2 files changed

+3
-3
lines changed

packages/vmind/src/atom/dataInsight/algorithms/abnormalTrend/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ const abnormalTrendAlgo = (context: DataInsightExtractContext, options: Abnormal
7878
}
7979
});
8080
});
81-
//console.log(seriesTrendInfo)
8281

8382
let overallTrendInsights = insights.filter(v => v.type === InsightType.OverallTrend);
8483
if (overallTrendInsights.length === 0) {

packages/vmind/src/atom/specInsight/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-explicit-any */
12
import type { SpecInsightCtx, SpecInsightOptions } from '../../types';
23
import { AtomName } from '../../types/atom';
34
import { BaseAtom } from '../base';
@@ -9,7 +10,7 @@ import { isStackChart } from '../dataInsight/utils';
910
import { Factory } from '../../core/factory';
1011
import type { BaseAtomConstructor } from '../../types';
1112
import type { DataItem } from '@visactor/generate-vchart';
12-
import VChart from '@visactor/vchart';
13+
1314
// 辅助函数:通用值比较
1415
function compareValues(a: any, b: any): number {
1516
// 如果是日期字符串,转换为时间戳比较
@@ -415,7 +416,7 @@ export class SpecInsightAtom extends BaseAtom<SpecInsightCtx, SpecInsightOptions
415416
// return [0]; // 其他数据用实线
416417
// })`
417418

418-
spec.line.style.lineDash = function (data) {
419+
spec.line.style.lineDash = function (data: any) {
419420
return data.forecast ? [5, 5] : [0];
420421
};
421422

0 commit comments

Comments
 (0)