Skip to content

Commit c015b2e

Browse files
committed
fix: 修复vue/return-in-computed-property报错
1 parent 251a98d commit c015b2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/DictTag/src/DictTag.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export default defineComponent({
3131
else if (isArray(props.value)) {
3232
return props.value.map(String)
3333
}
34+
return []
3435
})
3536
const rederDictTag = () => {
3637
if (!props.type) {

0 commit comments

Comments
 (0)