Skip to content

Commit

Permalink
fix: 🐛 wd-textarea组件maxlength限制长度无效
Browse files Browse the repository at this point in the history
  • Loading branch information
zqranx committed Aug 25, 2024
1 parent febe730 commit 614c3da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const isRequired = computed(() => {
// 当前文本域文字长度
const currentLength = computed(() => {
return String(props.modelValue || '').length
return String(formatValue(props.modelValue) || '').length
})
const rootClass = computed(() => {
Expand Down

0 comments on commit 614c3da

Please sign in to comment.