Browse Source

角色管理 2022-04-028 sxm

master
[li_she] 4 years ago
parent
commit
78bfc9526c
  1. 12
      src/views/modules/sys/role-add-or-update.vue

12
src/views/modules/sys/role-add-or-update.vue

@ -107,15 +107,9 @@ export default {
})
}).then(({data}) => {
if (data && data.code === 0) {
this.$message({
message: '操作成功',
type: 'success',
duration: 1500,
onClose: () => {
this.visible = false
this.$emit('refreshDataList')
}
})
this.$message.success('操作成功')
this.visible = false
this.$emit('refreshDataList')
} else {
this.$message.error(data.msg)
}

Loading…
Cancel
Save