fix: 修复查看任务日志偶发性无法自动滚动底部的bug

This commit is contained in:
xiaojunnuo
2025-01-19 23:13:30 +08:00
parent c085bac5d8
commit 7e482f798c
3 changed files with 13 additions and 2 deletions
@@ -46,7 +46,13 @@ export function createRemoteSelectInputDefine(opts?: {
const type = opts?.type || "plugin";
const watches = opts?.watches || [];
const helper = opts?.helper || "请选择";
const mode = opts?.mode || "tags";
let mode = "tags";
if (opts.multi === false) {
mode = undefined;
} else {
mode = opts?.mode ?? "tags";
}
const item = {
title,
component: {