소스 검색

update BlogQuestion.vue

reghao 3 달 전
부모
커밋
f38f0180cc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/blog/BlogQuestion.vue

+ 1 - 1
src/views/blog/BlogQuestion.vue

@@ -145,7 +145,7 @@ export default {
       this.queryInfo.pn = parseInt(pageNumber)
     }
     const categoryId = this.$route.query.categoryId
-    if (categoryId !== undefined && categoryId !== null) {
+    if (categoryId !== undefined && categoryId !== '') {
       this.queryInfo.categoryId = parseInt(categoryId)
     }