| | |
| | | <template> |
| | | <div class="width-100 flex-row flex-justify-between flex-align-center" style="height: 60px;"> |
| | | <div class="height-100"> |
| | | <a-avatar :size="40" shape="square" :src="cloudapi" /> |
| | | <!-- <a-avatar :size="40" shape="square" :src="cloudapi" /> --> |
| | | <span class="ml10 fontBold">{{ workspaceName }}</span> |
| | | </div> |
| | | |
| | |
| | | <a-menu theme="dark" class="flex-column flex-justify-between flex-align-center"> |
| | | <a-menu-item> |
| | | <span class="mr10" style="font-size: 16px;"><ExportOutlined /></span> |
| | | <span @click="logout">Log Out</span> |
| | | <span @click="logout">退出登录</span> |
| | | </a-menu-item> |
| | | </a-menu> |
| | | </template> |
| | |
| | | const selected = ref<string>(root.$route.path) |
| | | |
| | | onMounted(() => { |
| | | getPlatformInfo().then(res => { |
| | | workspaceName.value = res.data.workspace_name |
| | | }) |
| | | // getPlatformInfo().then(res => { |
| | | // workspaceName.value = res.data.workspace_name |
| | | // }) |
| | | }) |
| | | |
| | | function selectedRoute (path: string) { |