refactor(queue): 重构队列数据获取逻辑
- 使用专门的定时项和队列项 API 获取数据,提高数据获取效率和准确性 - 优化数据处理逻辑,移除不必要的中间步骤 - 提高代码可读性和可维护性
This commit is contained in:
@@ -182,7 +182,7 @@ const loadOptions = async () => {
|
||||
const addQueueItem = async () => {
|
||||
editingQueueItem.value = null
|
||||
Object.assign(form, {
|
||||
script: '',
|
||||
script: null,
|
||||
})
|
||||
|
||||
// 确保在打开弹窗时加载脚本选项
|
||||
|
||||
Reference in New Issue
Block a user