

editUsers(){
this.$refs.editFormRef.validate(async aaaas=>{
if(!aaaas) return
const{ data:res } = await this.$http.put('users/'+ this.editForm.id,{
email: this.editForm.email,
mobile: this.editForm.mobile
})
if( res.meta.status !== 200 ){
return this.$message.error('修改失败')
}
this.$message.success('更新成功')
this.editUinfoDialog= false
this.getUserList()
});
}
