Jelajahi Sumber

update BlogQuestion.vue

reghao 3 bulan lalu
induk
melakukan
f38f0180cc
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)
     }