no message
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<div class="tba-list flexcenter">
|
||||
<div class="tab-item flexcenter" :class="{ pitch: MyPopupState == 'collect' }" @click="cutMy('collect')">
|
||||
我的收藏
|
||||
<div class="value">{{ collectCount >= 0 ? collectCount : count["collect"] }}</div>
|
||||
<div class="value">{{ collectCount > 0 ? collectCount : count["collect"] }}</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-item flexcenter" :class="{ pitch: MyPopupState == 'mj' }" @click="cutMy('mj')">
|
||||
@@ -135,9 +135,8 @@ const cutMy = (key, isEmpty) => {
|
||||
collectPage = 1
|
||||
collectCount.value = 0
|
||||
}
|
||||
|
||||
|
||||
console.log("key", key, "collectList", collectList)
|
||||
console.log(key == "collect" && collectList.length == 0)
|
||||
if (key == "collect" && collectList.length == 0) getCollect()
|
||||
else if (key == "mj" && publishList.length == 0) getPublish()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user