update
Some checks failed
Deploy / deploy (build, debian, 22) (push) Has been cancelled
Deploy / deploy (build:staging, school, 8822) (push) Has been cancelled

This commit is contained in:
2026-03-31 23:21:31 -06:00
parent e539f9450a
commit 8d510e19bb
3 changed files with 7 additions and 3 deletions

View File

@@ -85,7 +85,6 @@ import Editor from "./Editor.vue"
import Toolbar from "./Toolbar.vue"
import { html, css, js, tab, size, reset } from "../store/editors"
import { taskId } from "../store/task"
import { conversationId } from "../store/prompt"
import { Submission } from "../api"
import { NCode, useDialog, useMessage } from "naive-ui"
import { h, ref } from "vue"
@@ -145,7 +144,6 @@ async function doSubmit() {
html: html.value,
css: css.value,
js: js.value,
conversationId: conversationId.value || undefined,
})
message.success("提交成功")
} catch (err) {

View File

@@ -280,6 +280,7 @@ watch([() => messages.value.length, streamingContent], () => {
}
.input-area {
flex-shrink: 0;
padding: 12px;
border-top: 1px solid #e0e0e0;
}

View File

@@ -171,11 +171,16 @@ onUnmounted(disconnectPrompt)
.left-tabs :deep(.n-tabs-pane-wrapper) {
flex: 1;
min-height: 0;
overflow: hidden;
display: flex;
flex-direction: column;
}
.left-tabs :deep(.n-tab-pane) {
height: 100%;
flex: 1;
min-height: 0;
overflow: hidden;
padding: 0;
}