Commit f9c3b95b authored by 郭志伟's avatar 郭志伟

perf(transformStyle): 组件高度向上取整

parent fea04e0b
......@@ -6,7 +6,7 @@ import { getParameterByName, isWxMp, isApp } from '@/service/utils.service';
export function initSa(router) {
console.log('initSa', EASY_ENV_IS_BROWSER, config, window.location.pathname);
const activity_id = window.location.pathname.split('/')?.[2] || '';
const activityId = window.location.pathname.split('/')?.[2] || '';
const vccChannel = getParameterByName('vccChannel') || getParameterByName('registerFrom');
const sonVccChannel = getParameterByName('sonVccChannel');
sa.init({
......@@ -19,13 +19,14 @@ export function initSa(router) {
},
// 判断外层是否有 App 的 SDK ,如果有的话,会往 App 的 SDK 发数据。如果没有,就正常发送数据。
use_app_track: true,
show_log: config.test,
// show_log: config.test,
show_log: false,
app_js_bridge: true,
});
// 添加公共属性
sa.registerPage({
platformType: isWxMp ? 'MP' : isApp ? 'APP' : 'H5',
activity_id,
activity_id: activityId,
parent_channel_id: vccChannel || '',
channel_id: sonVccChannel || ''
});
......
{}
\ No newline at end of file
{
"apiHost": "https://quantum-blocks-test1.liangkebang.net",
"h5Host": "https://quantum-h5-test1.liangkebang.net",
"opapiHost": "https://opapi-test1.liangkebang.net",
"passportHost": "https://passportapi-test1.liangkebang.net",
"kdspHost": "https://talos-test1.liangkebang.net",
"loginUrl": "",
"h5ShopHost": "https://tenet-test1.liangkebang.net/#"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment