feat: add the api of global closing page: $closePage(closeRoute, nextRoute);🌟
新增:增加全局关闭页面api: $closePage(closeRoute, nextRoute);
This commit is contained in:
@@ -14,11 +14,9 @@
|
||||
<span>设置</span>
|
||||
</a-menu-item>
|
||||
<a-menu-divider />
|
||||
<a-menu-item>
|
||||
<a @click="logout">
|
||||
<a-icon style="margin-right: 8px;" type="poweroff" />
|
||||
<span>退出登录</span>
|
||||
</a>
|
||||
<a-menu-item @click="logout">
|
||||
<a-icon style="margin-right: 8px;" type="poweroff" />
|
||||
<span>退出登录</span>
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</a-dropdown>
|
||||
|
||||
Reference in New Issue
Block a user