Merge pull request #3187 from jumpserver/pr@dev@accounts

fix: 工单账号组建默认值为空
This commit is contained in:
feng626
2023-06-12 17:06:09 +08:00
committed by GitHub

View File

@@ -177,7 +177,7 @@ export default {
mounted() { mounted() {
this.initDefaultChoice() this.initDefaultChoice()
setTimeout(() => { setTimeout(() => {
if (this.value === '') { if (this.value.length === 0) {
this.$emit('input', ['@ALL']) this.$emit('input', ['@ALL'])
} else { } else {
this.$emit('input', this.value) this.$emit('input', this.value)