chore: improve formatting
This commit is contained in:
parent
1b06b3c424
commit
b0156b5df3
@ -100,10 +100,8 @@ function setSelected(el: HTMLSelectElement, value: any) {
|
|||||||
if (isMultiple && !isArray(value)) {
|
if (isMultiple && !isArray(value)) {
|
||||||
__DEV__ &&
|
__DEV__ &&
|
||||||
warn(
|
warn(
|
||||||
`<select multiple v-model> ` +
|
`<select multiple v-model> expects an Array value for its binding, ` +
|
||||||
`expects an Array value for its binding, but got ${Object.prototype.toString
|
`but got ${Object.prototype.toString.call(value).slice(8, -1)}`
|
||||||
.call(value)
|
|
||||||
.slice(8, -1)}`
|
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user