shish %!s(int64=4) %!d(string=hai) anos
pai
achega
e0d29d15bd
Modificáronse 2 ficheiros con 25 adicións e 0 borrados
  1. 9 0
      ghsApp/src/mixins/product.js
  2. 16 0
      hdApp/src/mixins/product.js

+ 9 - 0
ghsApp/src/mixins/product.js

@@ -657,6 +657,15 @@ export default {
 				if(this.py.indexOf('hs') == 0 && this.py.length <= 2){
 				if(this.py.indexOf('hs') == 0 && this.py.length <= 2){
 					return
 					return
 				}
 				}
+				if(this.py.indexOf('zs') == 0 && this.py.length <= 2){
+					return
+				}
+				if(this.py.indexOf('ls') == 0 && this.py.length <= 2){
+					return
+				}
+				if(this.py.indexOf('bs') == 0 && this.py.length <= 2){
+					return
+				}
 				let commonChildList = [];
 				let commonChildList = [];
 				list.forEach(ele => {
 				list.forEach(ele => {
 					//过滤常用
 					//过滤常用

+ 16 - 0
hdApp/src/mixins/product.js

@@ -1039,6 +1039,22 @@ export default {
 				if(this.py.length <=1){
 				if(this.py.length <=1){
 					return
 					return
 				}
 				}
+				//红色粉色紫色绿色白色花材太多,搜索时会卡住,所以设置输入第三个字母时才搜索
+				if(this.py.indexOf('fs') == 0 && this.py.length <= 2){
+					return
+				}
+				if(this.py.indexOf('hs') == 0 && this.py.length <= 2){
+					return
+				}
+				if(this.py.indexOf('zs') == 0 && this.py.length <= 2){
+					return
+				}
+				if(this.py.indexOf('ls') == 0 && this.py.length <= 2){
+					return
+				}
+				if(this.py.indexOf('bs') == 0 && this.py.length <= 2){
+					return
+				}
 
 
 				clearInterval(this.timeFun)
 				clearInterval(this.timeFun)
 				let commonChildList = [];
 				let commonChildList = [];