首页瀑布流

This commit is contained in:
2023-07-27 15:46:59 +08:00
parent a20164b8fe
commit a5e6ebc76f
5 changed files with 17 additions and 15 deletions

View File

@@ -143,15 +143,8 @@ let downLoadMore = () => {
//listImg
onMounted(() => {
let type=null,data=null
console.log(router.currentRoute.value.params)
if (router.currentRoute.value.params.type) {
type=router.currentRoute.value.params.type
data=router.currentRoute.value.params.data
} else {
type=router.currentRoute.value.query.type
data=router.currentRoute.value.query.data
}
console.log(router.currentRoute.value.query)
let {type,data}=router.currentRoute.value.query
let typeData = null
if (data) typeData = JSON.parse(data)
if (data && Object.keys(data).length > 0) {