diff --git a/src/views/perms/AssetPermission/components/AccountFormatter.vue b/src/views/perms/AssetPermission/components/AccountFormatter.vue index bd2445241..355519791 100644 --- a/src/views/perms/AssetPermission/components/AccountFormatter.vue +++ b/src/views/perms/AssetPermission/components/AccountFormatter.vue @@ -177,7 +177,7 @@ export default { mounted() { this.initDefaultChoice() setTimeout(() => { - if (this.value === '') { + if (this.value.length === 0) { this.$emit('input', ['@ALL']) } else { this.$emit('input', this.value)