优化代码

This commit is contained in:
RuoYi
2026-01-28 13:42:42 +08:00
parent 245baa705b
commit 2cf825dd3d
18 changed files with 32 additions and 34 deletions

View File

@ -108,7 +108,7 @@ export default {
submitForm() {
const userId = this.form.userId
const roleIds = this.roleIds.join(",")
updateAuthRole({ userId: userId, roleIds: roleIds }).then((response) => {
updateAuthRole({ userId: userId, roleIds: roleIds }).then(() => {
this.$modal.msgSuccess("授权成功")
this.close()
})