build: build 通过
This commit is contained in:
parent
3b7a831840
commit
b51831dd15
|
|
@ -147,7 +147,7 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, onMounted, ref } from "vue";
|
||||
import { onMounted, ref } from "vue";
|
||||
import { storeToRefs } from "pinia";
|
||||
import { useChatStore } from "@/stores/chat";
|
||||
import { useSettingsStore } from "@/stores/settings";
|
||||
|
|
@ -171,11 +171,8 @@ const { currentConversationId, pinnedConversations, recentConversations } =
|
|||
const {
|
||||
sidebarCollapsed: isCollapsed,
|
||||
sidebarWidth,
|
||||
settings,
|
||||
} = storeToRefs(settingsStore);
|
||||
|
||||
const currentTheme = computed(() => settings.value.theme);
|
||||
|
||||
// 模型选择相关
|
||||
const showModelMenu = ref(false);
|
||||
const currentModel = ref(localStorage.getItem("modelSelect") || "");
|
||||
|
|
@ -231,10 +228,6 @@ function togglePinConversation(id: string) {
|
|||
chatStore.togglePinConversation(id);
|
||||
}
|
||||
|
||||
function toggleTheme() {
|
||||
settingsStore.toggleTheme();
|
||||
}
|
||||
|
||||
// 拖拽调整宽度
|
||||
const isResizing = ref(false);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue