Skip to content

Commit 8fabb64

Browse files
committed
feat: remove tracert
1 parent 905c516 commit 8fabb64

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

components/util.js

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -42,32 +42,6 @@ function label(text, index, total) {
4242
}
4343

4444
function tracert(type, appId, url) {
45-
my.call('remotelog', {
46-
type: 'behavior',
47-
bizType: 'FORTUNEAPP',
48-
seedId: 'mini-chart',
49-
logLevel: 2, // 1 - high, 2 - medium, 3 - low
50-
actionId: 'exposure',
51-
param1: appId,
52-
param2: url,
53-
param3: type,
54-
});
55-
56-
const Tracert = new tracertTa({
57-
spmAPos: 'a945', // spma位,必填
58-
spmBPos: 'b10625', // spmb位,必填
59-
bizType: 'FORTUNEAPP', // 业务类型,必填
60-
logLevel: 2, // 默认是2
61-
chInfo: '', // 渠道
62-
mdata: { // 通用的数据,可不传,传了所有的埋点均会带该额外参数
63-
},
64-
debug: false // 默认是false,传true 则会在发起埋点请求的时候,在控制台输出日志
65-
});
66-
Tracert.expo('c25441.d47746', {
67-
type,
68-
appId,
69-
url,
70-
});
7145
}
7246

7347
export default {

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mini-chart",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"description": "小程序图表库",
55
"repository": {
66
"type": "git",
@@ -18,7 +18,6 @@
1818
},
1919
"homepage": "https://github.com/ant-mini-program/mini-chart#readme",
2020
"dependencies": {
21-
"@alipay/tracert-ta": "^0.1.4",
2221
"@antv/my-f2": "~1.1.5"
2322
},
2423
"devDependencies": {

0 commit comments

Comments
 (0)