feat: 新增消息队列设置功能,优化自动操作体验

- 在 ClientAutoAction.vue 中新增消息队列设置标签页,允许用户配置弹幕和私信发送间隔。
- 更新多个组件以支持新的设置选项,提升用户交互体验。
- 在 useBiliFunction 中实现队列处理逻辑,确保消息按设定间隔发送。
- 优化 CheckInSettings 组件,整合 AutoActionEditor 以简化配置管理。
This commit is contained in:
2025-04-26 04:15:37 +08:00
parent 8bed5bbc1a
commit d8aed495d9
10 changed files with 331 additions and 196 deletions

View File

@@ -18,6 +18,14 @@ const props = defineProps({
action: {
type: Object as () => AutoActionItem,
required: true
},
hideName: {
type: Boolean,
default: false
},
hideEnabled: {
type: Boolean,
default: false
}
});
@@ -53,7 +61,11 @@ const TriggerSettings = getTriggerSettings();
<TemplateSettings :action="action" />
<!-- 基本设置 -->
<BasicSettings :action="action" />
<BasicSettings
:action="action"
:hide-name="hideName"
:hide-enabled="hideEnabled"
/>
<!-- 高级选项 - 所有高级设置放在一个折叠面板中 -->
<NCollapse class="settings-collapse">
<template #default>