mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 07:27:01 +00:00
perf: 界面设置提交后不刷新页面
This commit is contained in:
parent
09b52738ca
commit
cdcc4226db
@ -226,7 +226,9 @@ export default {
|
||||
}
|
||||
}
|
||||
updateInterface(form).then(res => {
|
||||
location.reload()
|
||||
this.$message.success(this.$tc('common.updateSuccessMsg'))
|
||||
}).catch(error => {
|
||||
this.$message.error(this.$tc('common.updateErrorMsg' + ' ' + error))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user