全局搜索
This commit is contained in:
parent
cfcf580da2
commit
42c3ce4525
|
@ -1272,7 +1272,17 @@
|
||||||
if (Cardsname.value === arr[0] && arr[0] == '基础设施') {
|
if (Cardsname.value === arr[0] && arr[0] == '基础设施') {
|
||||||
getAppResources2()
|
getAppResources2()
|
||||||
} else {
|
} else {
|
||||||
changeCards(arr[0])
|
let newQuery = JSON.parse(
|
||||||
|
JSON.stringify(router.currentRoute.value.query)
|
||||||
|
)
|
||||||
|
newQuery.str = searchValue.value
|
||||||
|
router
|
||||||
|
.replace({
|
||||||
|
query: newQuery,
|
||||||
|
})
|
||||||
|
.then(() => {
|
||||||
|
changeCards(arr[0])
|
||||||
|
})
|
||||||
}
|
}
|
||||||
if (!mapFlag) {
|
if (!mapFlag) {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue