lhl %!s(int64=4) %!d(string=hai) anos
pai
achega
dff8f734fb
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/views/help/List.vue
  2. 1 1
      src/views/news/List.vue

+ 1 - 1
src/views/help/List.vue

@@ -53,7 +53,7 @@ export default {
 		},
 		getList(keyword) {
 			let obj = this
-			if(keyword != '') {
+			if(keyword) {
 				obj.page = 1
 			}
 			getHelpList({

+ 1 - 1
src/views/news/List.vue

@@ -61,7 +61,7 @@
 			},
 			getList(keyword) {
 				let obj = this
-				if(keyword != '') {
+				if(keyword) {
 					obj.page = 1
 				}
 				newsList({