|
@@ -208,7 +208,14 @@ export default {
|
|
|
duration: 1000
|
|
|
})
|
|
|
} else {
|
|
|
- this.$message.error('删除牧场失败');
|
|
|
+ this.$confirm(result.data.msg, '删除失败', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ console.log('牧场删除失败');
|
|
|
+ }).catch(() => {})
|
|
|
+ // this.$message.error('删除牧场失败');
|
|
|
}
|
|
|
this.resetForm()
|
|
|
this.selectionDataList = []
|