]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: improve formatting
authorEvan You <yyx990803@gmail.com>
Fri, 11 Oct 2019 22:07:18 +0000 (18:07 -0400)
committerEvan You <yyx990803@gmail.com>
Fri, 11 Oct 2019 22:07:18 +0000 (18:07 -0400)
packages/runtime-dom/src/directives/vModel.ts

index 87c67c785de8e2a18a6ab279da4bad9d348a0f17..446caa199886cbc9eec21e3258c48bed418d51a1 100644 (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
   }