Authored by 周少峰

add point

... ... @@ -198,12 +198,8 @@ $.extend({
// 添加埋点
function addPoint(operate, parameter) {
if (!window._yas || !window._yas.sendCustomInfo) {
checkYas();
return;
}
if (!operate) {
if (!window._yas || !window._yas.sendCustomInfo || !operate) {
checkYas(operate, parameter);
return;
}
... ... @@ -233,7 +229,7 @@ function addPoint(operate, parameter) {
}, true);
}
function checkYas() {
function checkYas(operate, parameter) {
// yas库异步加载
var sto = setInterval(function() {
if (window._yas && window._yas.sendCustomInfo) {
... ...