()
| 226 | } |
| 227 | |
| 228 | async function deleteDataCollection() { |
| 229 | try { |
| 230 | // 删除当前数据 |
| 231 | await deleteCurrentData(); |
| 232 | |
| 233 | // 显示任务描述输入弹窗,为下一条数据输入新的任务描述 |
| 234 | showTaskDescriptionModal(true); // 传入true表示这是删除后的下一条数据 |
| 235 | |
| 236 | } catch (error) { |
| 237 | updateStatus(`删除数据失败: ${error.message}`, 'error'); |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | // 等待操作处理 |
| 242 | async function handleWait() { |
nothing calls this directly
no test coverage detected