mirror of https://github.com/ElemeFE/element
Textarea: fix undefined in ssr when v-model not set (#10630)
parent
0ae91ec37f
commit
a864d506aa
|
@ -121,7 +121,7 @@
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
currentValue: this.value,
|
currentValue: this.value || '',
|
||||||
textareaCalcStyle: {},
|
textareaCalcStyle: {},
|
||||||
prefixOffset: null,
|
prefixOffset: null,
|
||||||
suffixOffset: null,
|
suffixOffset: null,
|
||||||
|
|
Loading…
Reference in New Issue