可信代码库-AI大模型头部登录修改
This commit is contained in:
@@ -40,4 +40,4 @@ VITE_COPILOT_HOST = 'https://copilot-app.gitcode.com'
|
||||
VITE_BASE_URL=/openRepoPortal/
|
||||
|
||||
# AI大模型接口地址
|
||||
VITE_AI_API_HOST = 'http://222.20.126.208:8089'
|
||||
VITE_AI_API_HOST = 'http://222.20.126.208:8087'
|
||||
|
||||
@@ -46,7 +46,15 @@
|
||||
<span>帮助文档</span>
|
||||
</div>
|
||||
</d-button>
|
||||
|
||||
<template v-if="!isLogin">
|
||||
<d-button @click="handleLogin('register')" class="min-w-[64px]">注册</d-button>
|
||||
<d-button variant="solid" color="primary" @click="handleLogin('login')">Gitcode账号登录</d-button>
|
||||
</template>
|
||||
<template v-else>
|
||||
<UserAvatar />
|
||||
</template>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="$slots.info || $slots.menu || $slots.bodyHeader" class="g-header-body">
|
||||
|
||||
Reference in New Issue
Block a user