mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-06 03:58:00 +08:00
🎉navBar本地化
This commit is contained in:
parent
dacc459be7
commit
17b7022545
@ -10,10 +10,9 @@
|
||||
</span>
|
||||
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item command="logout" divided>
|
||||
<vab-icon :icon="['fas', 'sign-out-alt']"></vab-icon>
|
||||
退出登录
|
||||
</el-dropdown-item>
|
||||
<el-dropdown-item command="github">github地址</el-dropdown-item>
|
||||
<el-dropdown-item command="gitee" divided>码云地址</el-dropdown-item>
|
||||
<el-dropdown-item command="logout" divided>退出登录</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</template>
|
||||
@ -39,6 +38,12 @@
|
||||
case "personalCenter":
|
||||
this.personalCenter();
|
||||
break;
|
||||
case "github":
|
||||
window.open("https://github.com/chuzhixin/vue-admin-beautiful");
|
||||
break;
|
||||
case "gitee":
|
||||
window.open("https://gitee.com/chu1204505056/vue-admin-beautiful");
|
||||
break;
|
||||
}
|
||||
},
|
||||
personalCenter() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user