...
|
...
|
@@ -260,17 +260,16 @@ |
|
|
|
|
|
NSTimeInterval elapsedTime;
|
|
|
if ([self.timedEvents[kYHEventReporrH5StartKey] doubleValue]>0) {
|
|
|
elapsedTime = [self eventElapsedTime:self.timedEvents[kYHEventReporrH5StartKey]];
|
|
|
elapsedTime = [self eventElapsedTime:kYHEventReporrH5StartKey];
|
|
|
}else{
|
|
|
elapsedTime = [self eventElapsedTime:webView.yh_viewId];
|
|
|
|
|
|
}
|
|
|
|
|
|
if (elapsedTime==0) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (!IsStrEmpty(webView.yh_viewId)) {
|
|
|
if ([self.timedEvents.allKeys containsObject:kYHEventReporrH5StartKey]) {
|
|
|
dispatch_async(self.serialQueue, ^{
|
|
|
[self.timedEvents removeObjectForKey:kYHEventReporrH5StartKey];
|
|
|
});
|
...
|
...
|
|