修复首页报错

This commit is contained in:
luyuan 2020-06-04 09:39:08 +08:00
parent 86f813f93c
commit 63f21c3021
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3

View File

@ -186,6 +186,16 @@ export default {
zhiboItem, zhiboItem,
indexad, indexad,
darenItem darenItem
},
methods:{
dianji(a){
console.log(a)
if(typeof a == "object"){
this.num = a.detail.current
}else{
this.num = a
}
}
} }
} }
</script> </script>