Commit c015b2e8 by 黄兆琦

fix: 修复vue/return-in-computed-property报错

parent 251a98df
...@@ -31,6 +31,7 @@ export default defineComponent({ ...@@ -31,6 +31,7 @@ export default defineComponent({
else if (isArray(props.value)) { else if (isArray(props.value)) {
return props.value.map(String) return props.value.map(String)
} }
return []
}) })
const rederDictTag = () => { const rederDictTag = () => {
if (!props.type) { if (!props.type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment