修复点击退出登录有时会无效问题

This commit is contained in:
RuoYi 2020-03-15 20:13:33 +08:00
parent bc65e59fcb
commit 3b87128461
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@
<el-dropdown-item>
<span @click="setting = true">布局设置</span>
</el-dropdown-item>
<el-dropdown-item divided>
<span @click="logout">退出登录</span>
<el-dropdown-item divided @click.native="logout">
<span>退出登录</span>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>