mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-21 11:57:47 +00:00
feat: 更新版本查看
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<script setup lang='ts'>
|
<script setup lang='ts'>
|
||||||
import { computed, ref, watch } from 'vue'
|
import { computed, ref, watch } from 'vue'
|
||||||
import { NCard, NModal } from 'naive-ui'
|
import { NCard, NModal } from 'naive-ui'
|
||||||
|
import pkg from '../../../../package.json'
|
||||||
import { fetchChatConfig } from '@/api'
|
import { fetchChatConfig } from '@/api'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -55,9 +56,16 @@ watch(
|
|||||||
<NModal v-model:show="show" style="width: 80%; max-width: 460px;">
|
<NModal v-model:show="show" style="width: 80%; max-width: 460px;">
|
||||||
<NCard>
|
<NCard>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<h1 class="text-xl font-bold">
|
<h2 class="text-xl font-bold text-center">
|
||||||
当前后台设置
|
Version - {{ pkg.version }}
|
||||||
</h1>
|
</h2>
|
||||||
|
<hr>
|
||||||
|
<p>
|
||||||
|
此项目开源于
|
||||||
|
<a class="text-blue-600" href="https://github.com/Chanzhaoyu/chatgpt-web" target="_blank">Github</a>
|
||||||
|
,免费并且协议为 MIT,其他来源均为盗版,使用时请注意。如果你觉得此项目对你有帮助,请帮我点个 Star,谢谢!
|
||||||
|
</p>
|
||||||
|
<hr>
|
||||||
<p>API方式:{{ config?.apiModel ?? '-' }}</p>
|
<p>API方式:{{ config?.apiModel ?? '-' }}</p>
|
||||||
<p>反向代理:{{ config?.reverseProxy ?? '-' }}</p>
|
<p>反向代理:{{ config?.reverseProxy ?? '-' }}</p>
|
||||||
<p>超时时间:{{ config?.timeoutMs ?? '-' }}</p>
|
<p>超时时间:{{ config?.timeoutMs ?? '-' }}</p>
|
||||||
|
Reference in New Issue
Block a user