chore: improve formatting

This commit is contained in:
Evan You 2019-10-11 18:07:18 -04:00
parent 1b06b3c424
commit b0156b5df3

View File

@ -100,10 +100,8 @@ function setSelected(el: HTMLSelectElement, value: any) {
if (isMultiple && !isArray(value)) {
__DEV__ &&
warn(
`<select multiple v-model> ` +
`expects an Array value for its binding, but got ${Object.prototype.toString
.call(value)
.slice(8, -1)}`
`<select multiple v-model> expects an Array value for its binding, ` +
`but got ${Object.prototype.toString.call(value).slice(8, -1)}`
)
return
}