Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(res => {
that.loading = false
notification.success({
message: that.$t('tip.deleteSuccess')
})
that.$refs.table.clearSelected()
setTimeout(() => {
that.$refs.table.refresh(true)
}, 1500)
})
.catch(e => {
.then(() => {
notification.success({
message: that.$t('tip.cancelSuccess')
})
that.resetRoute()
})
.catch(e => {
.then(res => {
notification.success({
message: this.$t('tip.addSuccess')
})
})
.catch(e => {
.then(res => {
notification.success({
message: '新增成功'
})
})
.catch(e => {