diff --git a/src/views/pages/framework/users/auth-manage.vue b/src/views/pages/framework/users/auth-manage.vue index e55642052a8a103dbc25a1da2b174329d1565157..741020dc916211c9f7ea45b107fd6b2ff4e8c1b4 100644 --- a/src/views/pages/framework/users/auth-manage.vue +++ b/src/views/pages/framework/users/auth-manage.vue @@ -142,11 +142,13 @@ export default { searchAuthData() { this.loadingShow = true; let defaultValue = []; - this.defaultValueList.forEach((item) => { - if (item) { - defaultValue.push(...item.split(',')); - } - }); + if (this.searchVal && !this.$utils.isEmpty(this.searchVal.defaultValue)) { + this.defaultValueList.forEach((item) => { + if (item) { + defaultValue.push(...item.split(',')); + } + }); + } const data = { groupName: this.groupName, defaultValue: [...new Set(defaultValue)], // new set 数组去重