Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-editor
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
劳工
zeroing-editor
Commits
bd24ef18
Commit
bd24ef18
authored
Feb 25, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改dropdown的箭头为el-link
parent
73c6ac18
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
SampleMenu.vue
src/components/SampleMenu.vue
+2
-2
Views.vue
src/views/Editor/Views.vue
+1
-1
No files found.
src/components/SampleMenu.vue
View file @
bd24ef18
...
...
@@ -6,8 +6,8 @@
{{
item
.
label
||
''
}}
</el-badge>
</el-link>
<el-dropdown
v-if=
"item.sub"
trigger=
"
click
"
placement=
"top"
size=
"mini"
@
command=
"onSubCommand"
>
<
i
class=
"el-icon-arrow-down el-icon--right"
></i
>
<el-dropdown
v-if=
"item.sub"
trigger=
"
hover
"
placement=
"top"
size=
"mini"
@
command=
"onSubCommand"
>
<
el-link
icon=
"el-icon-arrow-down"
:underline=
"false"
></el-link
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-for=
"(subItem, key) in item.sub"
:command=
"key"
:key=
"key"
>
{{
subItem
}}
</el-dropdown-item>
</el-dropdown-menu>
...
...
src/views/Editor/Views.vue
View file @
bd24ef18
...
...
@@ -5,7 +5,7 @@
<el-link
class=
"menu-item"
@
click=
"toAddView"
>
{{
$t
(
'Add'
)
}}
</el-link>
<el-link
@
click=
"toImport(0)"
>
{{
$t
(
'Import'
)
}}
</el-link>
<el-dropdown
trigger=
"hover"
placement=
"top"
size=
"mini"
@
command=
"onImportCommand"
>
<
i
class=
"el-icon-arrow-down el-icon--right"
></i
>
<
el-link
icon=
"el-icon-arrow-down"
:underline=
"false"
></el-link
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"single"
>
{{
$t
(
'Single view'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"multi"
>
{{
$t
(
'Multi views'
)
}}
</el-dropdown-item>
...
...
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