NEZ-793 fix: Agent页面,查询问题

This commit is contained in:
@changcode
2021-06-30 17:11:46 +08:00
parent bd3eda24da
commit ca20f76c1b
6 changed files with 24 additions and 17 deletions

View File

@@ -165,7 +165,9 @@ export default {
this.$refs.roleForm.validate((valid) => {
if (valid) {
if (this.editRole.id) {
this.editRole.i18n = this.editRole.name
this.$put(this.url, this.editRole).then(res => {
console.log(this.editRole)
this.prevent_opt.save = false
if (res.code === 200) {
this.$message({ duration: 2000, type: 'success', message: this.$t('tip.saveSuccess') })