全局搜索调整
This commit is contained in:
parent
6abc05dcf6
commit
62b2091fd6
|
@ -1169,10 +1169,7 @@
|
|||
str = searchValue.value.substring(0, 2)
|
||||
r = re.test(str)
|
||||
}
|
||||
if (
|
||||
(searchValue.value.length > 1 && r) ||
|
||||
paramsGetResources.type === '基础设施'
|
||||
) {
|
||||
if (searchValue.value.length > 1 && r) {
|
||||
flag = false
|
||||
} else {
|
||||
flag = true
|
||||
|
@ -1300,10 +1297,7 @@
|
|||
str = searchValue.value.substring(0, 2)
|
||||
r = re.test(str)
|
||||
}
|
||||
if (
|
||||
(searchValue.value.length > 1 && r) ||
|
||||
paramsGetResources.type === '基础设施'
|
||||
) {
|
||||
if (searchValue.value.length > 1 && r) {
|
||||
paramsGetResources.nonChinese = false
|
||||
paramsGetResources.name = searchValue.value
|
||||
paramsGetResources.type = Cardsname.value
|
||||
|
|
Loading…
Reference in New Issue