diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/assetSubTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/assetSubTab.vue index 90f799472..43be2a90b 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/assetSubTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/assetSubTab.vue @@ -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 diff --git a/nezha-fronted/src/components/common/rightBox/administration/roleBox.vue b/nezha-fronted/src/components/common/rightBox/administration/roleBox.vue index 69ec138f5..c83ed40d5 100644 --- a/nezha-fronted/src/components/common/rightBox/administration/roleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/administration/roleBox.vue @@ -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) {