fix[Logout]: click blank area of ​​dropDown able to logout

This commit is contained in:
花裤衩 2020-01-09 20:37:26 +08:00
parent f70f0675ba
commit 9cf3082659
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@
<a target="_blank" href="https://panjiachen.github.io/vue-element-admin-site/#/">
<el-dropdown-item>Docs</el-dropdown-item>
</a>
<el-dropdown-item divided>
<span style="display:block;" @click="logout">Log Out</span>
<el-dropdown-item divided @click.native="logout">
<span style="display:block;">Log Out</span>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>