Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
陆宇天
/
config-center-front
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dd8c5ccd
authored
May 27, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
el-dropdown-item 不支持全局指令使用 控制台会警告 去掉
1 parent
8b6c5051
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/layout.vue
src/views/layout.vue
View file @
dd8c5cc
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
</span>
</span>
<template
#
dropdown
>
<template
#
dropdown
>
<el-dropdown-menu>
<el-dropdown-menu>
<el-dropdown-item
command=
"a"
v-preventReClick
@
click=
"change"
<el-dropdown-item
command=
"a"
@
click=
"change"
>
修改密码
</el-dropdown-item
>
修改密码
</el-dropdown-item
>
>
<el-dropdown-item
command=
"b"
v-preventReClick
@
click=
"logout"
<el-dropdown-item
command=
"b"
@
click=
"logout"
>
登出
</el-dropdown-item
>
登出
</el-dropdown-item
>
>
<el-dropdown-item
command=
"b"
v-preventReClick
@
click=
"delUser"
<el-dropdown-item
command=
"b"
@
click=
"delUser"
>
注销
</el-dropdown-item
>
注销
</el-dropdown-item
>
>
</el-dropdown-menu>
</el-dropdown-menu>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment