🎉navBar本地化

This commit is contained in:
chuzhixin 2020-10-06 14:29:05 +08:00
parent dacc459be7
commit 17b7022545

View File

@ -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() {