每次FormData请求之后,只能一条条delete,请问怎么样一下清空里面的数据created() {
axios.post(url.backstagelistTools, this.toolsListFormData)
.then(response => { this.tableDataList = response.data.dataList; //怎么一下子清空toolsListFormData
this.toolsListFormData.delete("XAuthToken") this.toolsListFormData.delete("pageString") this.toolsListFormData.delete("designerName")
})
.catch(function(error) {
console.log(error);
});
}
添加回答
举报
0/150
提交
取消