zs hai 1 ano
pai
achega
cc6815a303
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/home/index.vue

+ 1 - 1
pages/home/index.vue

@@ -154,9 +154,9 @@
 				const that = this;
 				let res;
 				let info = {
-					name: e.detail.value,
 					is_use: '0'
 				}
+				if (e.detail.value) info.name = e.detail.value
 				res = await that.$api(`/Good/search`, 'GET', {
 					...info,
 				})