mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: 设置页面优化
This commit is contained in:
parent
31936c8615
commit
ef0eb09eb4
|
|
@ -1,8 +1,15 @@
|
|||
<template>
|
||||
<LayoutContainer
|
||||
:header="$t('views.application.applicationForm.title.edit')"
|
||||
class="create-application"
|
||||
>
|
||||
<LayoutContainer class="create-application">
|
||||
<template #header>
|
||||
<div class="flex-between w-full">
|
||||
<h3>
|
||||
{{ $t('views.application.applicationForm.title.edit') }}
|
||||
</h3>
|
||||
<el-button type="primary" @click="submit(applicationFormRef)" :disabled="loading">
|
||||
保存并发布
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
<el-row v-loading="loading">
|
||||
<el-col :span="10">
|
||||
<div class="p-24 mb-16" style="padding-bottom: 0">
|
||||
|
|
@ -260,11 +267,6 @@
|
|||
</el-form>
|
||||
</el-scrollbar>
|
||||
</div>
|
||||
<div class="text-right border-t p-16">
|
||||
<el-button type="primary" @click="submit(applicationFormRef)" :disabled="loading">
|
||||
保存并发布
|
||||
</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :span="14" class="p-24 border-l">
|
||||
<h4 class="title-decoration-1 mb-16">
|
||||
|
|
@ -493,10 +495,10 @@ onMounted(() => {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
.scrollbar-height-left {
|
||||
height: calc(var(--app-main-height) - 127px);
|
||||
height: calc(var(--app-main-height) - 64px);
|
||||
}
|
||||
.scrollbar-height {
|
||||
height: calc(var(--app-main-height) - 150px);
|
||||
height: calc(var(--app-main-height) - 160px);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -91,7 +91,12 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="角色设定">
|
||||
<el-input v-model="chat_data.system" placeholder="角色设定" type="textarea" autosize />
|
||||
<el-input
|
||||
v-model="chat_data.system"
|
||||
placeholder="角色设定"
|
||||
type="textarea"
|
||||
:autosize="{ minRows: 1, maxRows: 3 }"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="提示词" prop="prompt">
|
||||
<template #label>
|
||||
|
|
|
|||
|
|
@ -91,7 +91,12 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="角色设定">
|
||||
<el-input v-model="form_data.system" placeholder="角色设定" type="textarea" autosize />
|
||||
<el-input
|
||||
v-model="form_data.system"
|
||||
placeholder="角色设定"
|
||||
type="textarea"
|
||||
:autosize="{ minRows: 1, maxRows: 3 }"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="提示词" prop="prompt">
|
||||
<template #label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue