Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
huamu
Project
Project
Details
Activity
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
郭铭瑶
huamu
Commits
51b5b9be
Commit
51b5b9be
authored
Sep 22, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init project
parent
e06eb892
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
state.ts
src/store/state.ts
+1
-1
nav-bar.vue
src/view/components/nav-bar.vue
+1
-1
struct-modal.vue
src/view/components/struct-modal.vue
+6
-6
No files found.
src/store/state.ts
View file @
51b5b9be
...
...
@@ -59,5 +59,5 @@ export default {
},
filterPath
:
''
,
// 地理筛选路径
mapPoints
:
[{}],
menus
:
[],
menus
:
[]
as
{
key
:
string
;
name
:
string
;
children
?:
any
[]
}[]
,
}
src/view/components/nav-bar.vue
View file @
51b5b9be
...
...
@@ -73,7 +73,7 @@
</div>
<div
class=
"children"
>
<div
v-for=
"(child, i) in curMenu
.children
"
v-for=
"(child, i) in curMenu
?.children || []
"
:key=
"i"
:class=
"{ child: !child.list }"
>
...
...
src/view/components/struct-modal.vue
View file @
51b5b9be
...
...
@@ -235,7 +235,7 @@
</div>
<div
v-else-if=
"
curKey.split('-').length === 3 && curMenu && curMenu._hasSub
curKey
?
.split('-').length === 3 && curMenu && curMenu._hasSub
"
class=
"card"
>
...
...
@@ -292,11 +292,11 @@
</div>
<
template
v-else-if=
"
((curKey.startsWith('2') ||
curKey.startsWith('3') ||
curKey.startsWith('4')) &&
curKey.split('-').length === 2) ||
(curKey.split('-').length === 3 &&
((curKey
?
.startsWith('2') ||
curKey
?
.startsWith('3') ||
curKey
?
.startsWith('4')) &&
curKey
?
.split('-').length === 2) ||
(curKey
?
.split('-').length === 3 &&
(!curMenu || !curMenu._hasSub)) ||
onlyOne
"
...
...
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