Phoenix 4 months ago
parent 50501a73cd
commit 8abb0439f6

@ -12,6 +12,7 @@
], ],
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"prod": "vite --mode prod",
"build": "vite build", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"build-prod": "vite build --mode prod", "build-prod": "vite build --mode prod",

@ -17,11 +17,11 @@ import {Local} from './utils/storage/storage.js'
} *!/ */ } *!/ */
const themeOverrides = { const themeOverrides = {
common: { common: {
primaryColorHover:'#764CF6', primaryColorHover:Local.get('setting-info')?.themeColor?.split("@")?.[1]??'#764CF6',
primaryColor:'#764CF6' primaryColor:Local.get('setting-info')?.themeColor?.split("@")?.[1]??'#764CF6',
}, },
Button: { Button: {
textColor: '#764CF6' textColor: Local.get('setting-info')?.themeColor?.split("@")?.[1]??'#764CF6',
} }
} }
</script> </script>

@ -11,6 +11,7 @@ const currentListUuid=ref('')
const isStop = ref(false); const isStop = ref(false);
const isGPT4 = ref(false); const isGPT4 = ref(false);
const loading=ref(false) const loading=ref(false)
const show=ref(false)
const getDataList = async () => { const getDataList = async () => {
const data = { const data = {
page: 1, page: 1,
@ -64,5 +65,5 @@ const currentListUuid=ref('')
//getDataList() //getDataList()
} }
} }
return { sessionDetail,currentListUuid ,gptMode,getDataList,dataList,getSessionDetail,createSessionStore,deleteSession,isStop,isGPT4,loading}; return {show, sessionDetail,currentListUuid ,gptMode,getDataList,dataList,getSessionDetail,createSessionStore,deleteSession,isStop,isGPT4,loading};
}); });

@ -485,7 +485,6 @@ const customRequest = async (file) => {
<template v-else> <template v-else>
<div> <div>
<Message <Message
v-for="(item, index) of dataSources" v-for="(item, index) of dataSources"
:key="item.dateTime" :key="item.dateTime"
:date-time="item.dateTime" :date-time="item.dateTime"

@ -81,7 +81,7 @@ const options = () => {
}, },
{ {
label: 'GPT-4.0', label: 'GPT-4.0',
value: 'gpt-4-1106-preview', value: 'gpt-4o',
permission: 'gpt-4-btn' permission: 'gpt-4-btn'
}, },
{ {

@ -0,0 +1,11 @@
<script setup lang="ts">
</script>
<template>
</template>
<style scoped>
</style>
Loading…
Cancel
Save