大模型顺序问题修改

This commit is contained in:
朱浩 2024-12-21 21:42:07 +08:00
parent a601a9f8dd
commit 4531533382
1 changed files with 4 additions and 4 deletions

View File

@ -117,7 +117,7 @@ const pgDialog = reactive({ // 弹窗-进度条
} }
}) })
const curMode = ref(1) const curMode = ref(2)
const modeOptions = ref([ const modeOptions = ref([
{ {
label: '教学大模型', label: '教学大模型',
@ -223,7 +223,7 @@ const editKeyWord = (item, val) => {
const removeItem = async (item, isChild) => { const removeItem = async (item, isChild) => {
/** /**
* item: 当前操作的模板 * item: 当前操作的模板
* isChild: 子模板中的移除为 true * isChild: 子模板中的移除为 true
*/ */
if (item.ex3 != '1') { if (item.ex3 != '1') {
ElMessageBox.confirm( ElMessageBox.confirm(
@ -280,7 +280,7 @@ const scrollToBottom = (height, index) => {
let listDom = listRef.value.children let listDom = listRef.value.children
if (index == 0) { if (index == 0) {
// 220 // 220
let screenHeight = window.innerHeight - 220 let screenHeight = window.innerHeight - 220
if (height > screenHeight) { if (height > screenHeight) {
listRef.value.scrollTop = (height - screenHeight + 50) listRef.value.scrollTop = (height - screenHeight + 50)
@ -735,4 +735,4 @@ onUnmounted(() => {
width: 110px !important; width: 110px !important;
min-width: 110px !important; min-width: 110px !important;
} }
</style> </style>