|
|
@ -182,7 +182,7 @@ class PackageIndexNEITaskDetails extends Component {
|
|
|
|
let url=`/project_packages/${this.props.match.params.id}.json`;
|
|
|
|
let url=`/project_packages/${this.props.match.params.id}.json`;
|
|
|
|
axios.delete(url ).then((response) => {
|
|
|
|
axios.delete(url ).then((response) => {
|
|
|
|
// const status = response.data.status
|
|
|
|
// const status = response.data.status
|
|
|
|
console.log(response)
|
|
|
|
// console.log(response)
|
|
|
|
this.props.showSnackbar('删除成功');
|
|
|
|
this.props.showSnackbar('删除成功');
|
|
|
|
}).catch((error) => {
|
|
|
|
}).catch((error) => {
|
|
|
|
console.log(error)
|
|
|
|
console.log(error)
|
|
|
|