zs 1 år sedan
förälder
incheckning
cc6815a303
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      pages/home/index.vue

+ 1 - 1
pages/home/index.vue

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