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