IDuxFE / idux

🚀 A UI Component Library for Vue3.x
https://idux.site
MIT License
546 stars 141 forks source link

fix(pro:textarea): row number is `0` when value is undefined #1979

Closed sallerli1 closed 3 months ago

sallerli1 commented 3 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

What is the current behavior?

当初始的value是undefined的时候,第一行的行号是0

What is the new behavior?

修复以上问题,第一行的行号始终是1

Other information

idux-bot[bot] commented 3 months ago

This preview will be available after the AzureCI is passed.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.88%. Comparing base (a8515bb) to head (9bf35ea).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1979 +/- ## ======================================= Coverage 90.88% 90.88% ======================================= Files 358 358 Lines 35824 35824 Branches 3901 3901 ======================================= Hits 32558 32558 Misses 3266 3266 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.