puzhibing
6 天以前 0db8c9b94a9ac655549d5eba5c2a6c92ac386c06
culture/src/views/system/role/edit.vue
@@ -83,7 +83,7 @@
    </div>
    <div class="btn_box">
      <el-button @click="$router.go(-1)">返回</el-button>
      <el-button @click="$closeCurrentView('/system/role')">返回</el-button>
      <el-button type="primary" @click="onSubmit">保存</el-button>
    </div>
  </Card>
@@ -158,12 +158,12 @@
            obj.roleId = this.$route.query.roleId
            edit(obj).then(() => {
              this.msgsuccess('保存成功')
              this.$router.go(-1)
              this.$closeCurrentView('/system/role')
            })
          } else {
            add(obj).then(() => {
              this.msgsuccess('保存成功')
              this.$router.go(-1)
              this.$closeCurrentView('/system/role')
            })
          }
        }
@@ -395,4 +395,4 @@
    font-family: 'Source Han Sans CN Bold Bold';
  }
}
</style>
</style>