function doDelete(idx, id) { _axios.delete(`/user/${id}/`).then((res) => { if (res.data.code === 0) { dataList.value.splice(idx, 1) } }) }