首页瀑布流
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user