ylong 2 mesi fa
parent
commit
816197d9bd
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      pages/index/detail/components/ReviewBookInfo.vue

+ 5 - 0
pages/index/detail/components/ReviewBookInfo.vue

@@ -44,6 +44,11 @@ const auditNum = computed(() => {
 });
 
 function handleBookClick(book) {
+    if(book.auditReviewComment?.sts){
+        uni.$u.toast("该书已复审完成");
+        uni.$u.ttsModule.speak("该书已复审完成");
+        return;
+    }
     uni.navigateTo({
         url: `/pages/index/detail/review-book?isbn=${book.isbn}&orderId=${props.detail.orderId}&auditReviewId=${book.auditReviewComment.auditReviewId}&&index=${book.auditReviewComment.index}`,
     });