已加上删除判断

This commit is contained in:
daihh
2022-11-09 16:15:13 +08:00
parent fccb4b4cc0
commit c1c7cc6c0b
4 changed files with 26 additions and 8 deletions

View File

@@ -78,6 +78,10 @@
},
methods:{
jumpDetail(item){
if(item.deleted){
this.$message.warning("此内容已删除");
return;
}
this.$router.push('/qa/answer?id='+item.contentId)
},
emitHide(id) {