MCPcopy
hub / github.com/IPADS-SAI/MobiAgent / deleteDataCollection

Function deleteDataCollection

collect/manual/static/js/script.js:228–239  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226}
227
228async 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// 等待操作处理
242async function handleWait() {

Callers

nothing calls this directly

Calls 3

deleteCurrentDataFunction · 0.85
showTaskDescriptionModalFunction · 0.85
updateStatusFunction · 0.85

Tested by

no test coverage detected