页面浏览量判断url为空时不进行接口调用
This commit is contained in:
parent
c5985a5e2b
commit
b1700ee531
@ -11,8 +11,10 @@ export default async function ({
|
||||
store.commit('SET_DEVICE', isMobile(userAgent))
|
||||
|
||||
let data = {
|
||||
url: url,
|
||||
url,
|
||||
equipment: store.state.device,
|
||||
}
|
||||
$axios.post('/web/pageSave',data)
|
||||
if (url && url !== '') {
|
||||
$axios.post('/web/pageSave',data)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user