//动态删除前台对应列表
let index = e.currentTarget.dataset.index // 获取当前项的index
let oldclockList = that.data.clockList
oldclockList.splice(index, 1) // 执行删除操作
this.setData({ // 重新赋值
clockList: oldclockList,
})
//end
.splice 函数使用参考https://www.runoob.com/jsref/jsref-splice.html