提交 efc09cc4 编写于 作者: fxy060608's avatar fxy060608

chore(stat): config.js => config.ts

上级 bd53408e
......@@ -2,12 +2,12 @@
var version = "3.0.0-alpha-3000020210827004";
const STAT_VERSION = version;
const STAT_URL = 'https://tongji.dcloud.io/uni/stat';
const STAT_H5_URL = 'https://tongji.dcloud.io/uni/stat.gif';
const PAGE_PVER_TIME = 1800;
const APP_PVER_TIME = 300;
const OPERATING_TIME = 10;
const STAT_VERSION = version;
const STAT_URL = 'https://tongji.dcloud.io/uni/stat';
const STAT_H5_URL = 'https://tongji.dcloud.io/uni/stat.gif';
const PAGE_PVER_TIME = 1800;
const APP_PVER_TIME = 300;
const OPERATING_TIME = 10;
const DIFF_TIME = 60 * 1000 * 60 * 24;
const statConfig$1 = {
......
var version = "3.0.0-alpha-3000020210827004";
const STAT_VERSION = version;
const STAT_URL = 'https://tongji.dcloud.io/uni/stat';
const STAT_H5_URL = 'https://tongji.dcloud.io/uni/stat.gif';
const PAGE_PVER_TIME = 1800;
const APP_PVER_TIME = 300;
const OPERATING_TIME = 10;
const STAT_VERSION = version;
const STAT_URL = 'https://tongji.dcloud.io/uni/stat';
const STAT_H5_URL = 'https://tongji.dcloud.io/uni/stat.gif';
const PAGE_PVER_TIME = 1800;
const APP_PVER_TIME = 300;
const OPERATING_TIME = 10;
const DIFF_TIME = 60 * 1000 * 60 * 24;
const statConfig$1 = {
......
......@@ -4,7 +4,7 @@ import {
STAT_URL,
STAT_VERSION,
DIFF_TIME,
} from './config'
} from './config.ts'
const statConfig = {
appid: process.env.UNI_APP_ID,
}
......
......@@ -24,7 +24,12 @@ import {
isReportData,
} from './parameter'
import { STAT_URL, STAT_VERSION, STAT_H5_URL, OPERATING_TIME } from './config'
import {
STAT_URL,
STAT_VERSION,
STAT_H5_URL,
OPERATING_TIME,
} from './config.ts'
let titleJsons = {}
// #ifdef MP
let pagesTitle = require('uni-pages?{"type":"style"}').default
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册