Skip to content

Commit

Permalink
fix(cmdb-ui):fix multiple default value (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-liang0615 authored Feb 4, 2024
1 parent ea4f0fc commit d510330
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
initialValue:
attr.default && attr.default.default
? attr.is_list
? attr.default.default.split(',')
? Array.isArray(attr.default.default)
? attr.default.default
: attr.default.default.split(',')
: attr.default.default
: null,
},
Expand Down

0 comments on commit d510330

Please sign in to comment.