Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
million
Commits
06f580d2
Commit
06f580d2
authored
Nov 26, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c997b6dc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
search-top.vue
src/components/search_sf/search-top.vue
+7
-3
No files found.
src/components/search_sf/search-top.vue
View file @
06f580d2
...
...
@@ -328,7 +328,7 @@ export default {
created
()
{
},
mounted
()
{
this
.
isSearch
=
this
.
$router
.
history
.
current
.
path
===
"/search"
;
this
.
isSearch
=
this
.
$router
.
history
.
current
.
path
===
"/search"
||
this
.
$router
.
history
.
current
.
path
===
"/searchProduct"
;
this
.
initAreaList
()
var
jObj
=
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'baseifo'
));
const
hotList
=
this
.
getHotList
(
jObj
.
AreaList
)
...
...
@@ -502,8 +502,12 @@ export default {
this
.
historys
=
Array
.
from
(
new
Set
([
this
.
searchKey
].
concat
(
this
.
historys
)))
localStorage
[
'recent_search'
]
=
JSON
.
stringify
(
this
.
historys
)
}
this
.
CommonJump
(
"/search"
,
{
var
currentUrl
=
window
.
location
.
href
;
let
urlName
=
"/search"
;
if
(
currentUrl
.
includes
(
'/#/searchProduct'
)){
urlName
=
"/searchProduct"
;
}
this
.
CommonJump
(
urlName
,
{
qsearchKey
:
this
.
searchKey
,
areaIds
:
this
.
areaTicked
.
join
(
','
),
qsearchDate
:
this
.
searchDate
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment