Commit 280cde49 authored by 邓春圆's avatar 邓春圆

展示报错信息

parent 356cf92c
...@@ -65,12 +65,17 @@ export default { ...@@ -65,12 +65,17 @@ export default {
reason:this.textarea reason:this.textarea
}).then(r=>{ }).then(r=>{
if(r.code === 0){ if(r.code === 0){
if(r.data){
this.$message.error(r.data)
}else {
this.$emit('update:show',false) this.$emit('update:show',false)
this.$emit('update:customerIds',[]) this.$emit('update:customerIds',[])
this. service = ''; this. service = '';
this.textarea = ''; this.textarea = '';
this.$message.success(this.$t('用户批量转移成功!')) this.$message.success(this.$t('用户批量转移成功!'))
} }
}
}) })
}, },
close(){ close(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment