修改问题
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="list-item" ref="list" @click="goDetail">
|
||||
<div class="list-item" ref="list" @click="goDetail(data.status)">
|
||||
<div class="authentication-box dis-f al-item" v-if="data.verified == 1">
|
||||
<img src="../../assets/homeImage/authenticationLogo.png" class="logo" alt="">
|
||||
<img src="../../assets/homeImage/topAuthenticationBg.svg" class="bg" alt="">
|
||||
@@ -190,7 +190,10 @@ watch(() => props.item.status, (newValue, oldValue) => {
|
||||
const cancelCollection = token => emit('cancelCollection', { token, index: props['index'] })
|
||||
|
||||
// 点击跳转详情页
|
||||
const goDetail = () => router.push(`/detail?uniqid=${data.uniqid}`)
|
||||
const goDetail = status => {
|
||||
console.log("status", status);
|
||||
if (status == 1) router.push(`/detail?id=${data.uniqid}`)
|
||||
}
|
||||
|
||||
// 跳转编辑页面
|
||||
const goEdit = () => router.push(`/edit?token=${data.token}`)
|
||||
|
||||
Reference in New Issue
Block a user