Explorar el Código

update BlogQuestion.vue

reghao hace 3 meses
padre
commit
f38f0180cc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)
     }