二手车交易,测试记录浏览量
This commit is contained in:
@ -140,6 +140,14 @@ export default {
|
||||
}
|
||||
this.imgSrcList.unshift(res?.data?.vehicleAnglePhoto)
|
||||
}
|
||||
window.addEventListener('message', function(event) {
|
||||
console.log("iframeCloseDialog",event)
|
||||
if (event.data == 'iframeCloseDialog') {
|
||||
// 执行关闭操作
|
||||
console.log('Dialog is closing...');
|
||||
// 你可以在这里执行一些清理操作或其他逻辑
|
||||
}
|
||||
});
|
||||
document.addEventListener('visibilitychange', async ( ) => {
|
||||
let state = document.visibilityState
|
||||
if (state == 'hidden') { // 用户离开了
|
||||
|
Reference in New Issue
Block a user