fix: 修复 asset 二级菜单 Children asset 搜索查所有。修复编辑保存i18n赋值问题

This commit is contained in:
@changcode
2021-09-14 17:37:04 +08:00
parent d1df34bf08
commit 56a1ea5303
2 changed files with 1 additions and 1 deletions

View File

@@ -209,6 +209,7 @@ export default {
}
this.$set(this.searchLabel, 'pageNo', this.pageObj.pageNo)
this.$set(this.searchLabel, 'pageSize', this.pageObj.pageSize)
this.$set(this.searchLabel, 'pids', this.obj.id)
this.tools.loading = true
this.$get(this.url, { ...this.searchLabel, ...this.searchCheckBox }).then(response => {
this.tools.loading = false

View File

@@ -176,7 +176,6 @@ 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 => {
this.prevent_opt.save = false
if (res.code === 200) {