123
This commit is contained in:
parent
50501a73cd
commit
8abb0439f6
@ -12,6 +12,7 @@
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"prod": "vite --mode prod",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"build-prod": "vite build --mode prod",
|
||||
|
@ -17,11 +17,11 @@ import {Local} from './utils/storage/storage.js'
|
||||
} *!/ */
|
||||
const themeOverrides = {
|
||||
common: {
|
||||
primaryColorHover:'#764CF6',
|
||||
primaryColor:'#764CF6'
|
||||
primaryColorHover:Local.get('setting-info')?.themeColor?.split("@")?.[1]??'#764CF6',
|
||||
primaryColor:Local.get('setting-info')?.themeColor?.split("@")?.[1]??'#764CF6',
|
||||
},
|
||||
Button: {
|
||||
textColor: '#764CF6'
|
||||
textColor: Local.get('setting-info')?.themeColor?.split("@")?.[1]??'#764CF6',
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -11,6 +11,7 @@ const currentListUuid=ref('')
|
||||
const isStop = ref(false);
|
||||
const isGPT4 = ref(false);
|
||||
const loading=ref(false)
|
||||
const show=ref(false)
|
||||
const getDataList = async () => {
|
||||
const data = {
|
||||
page: 1,
|
||||
@ -64,5 +65,5 @@ const currentListUuid=ref('')
|
||||
//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>
|
||||
<div>
|
||||
<Message
|
||||
|
||||
v-for="(item, index) of dataSources"
|
||||
:key="item.dateTime"
|
||||
:date-time="item.dateTime"
|
||||
|
@ -81,7 +81,7 @@ const options = () => {
|
||||
},
|
||||
{
|
||||
label: 'GPT-4.0',
|
||||
value: 'gpt-4-1106-preview',
|
||||
value: 'gpt-4o',
|
||||
permission: 'gpt-4-btn'
|
||||
},
|
||||
{
|
||||
|
11
src/views/chat/test.vue
Normal file
11
src/views/chat/test.vue
Normal file
@ -0,0 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user