|
@@ -1,5 +1,5 @@
|
|
|
/*!
|
|
/*!
|
|
|
- * Vue.js v2.5.20
|
|
|
|
|
|
|
+ * Vue.js v2.5.21
|
|
|
* (c) 2014-2018 Evan You
|
|
* (c) 2014-2018 Evan You
|
|
|
* Released under the MIT License.
|
|
* Released under the MIT License.
|
|
|
*/
|
|
*/
|
|
@@ -2903,7 +2903,7 @@ function mountComponent (
|
|
|
// component's mounted hook), which relies on vm._watcher being already defined
|
|
// component's mounted hook), which relies on vm._watcher being already defined
|
|
|
new Watcher(vm, updateComponent, noop, {
|
|
new Watcher(vm, updateComponent, noop, {
|
|
|
before: function before () {
|
|
before: function before () {
|
|
|
- if (vm._isMounted) {
|
|
|
|
|
|
|
+ if (vm._isMounted && !vm._isDestroyed) {
|
|
|
callHook(vm, 'beforeUpdate');
|
|
callHook(vm, 'beforeUpdate');
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -3844,9 +3844,10 @@ function renderList (
|
|
|
ret[i] = render(val[key], key, i);
|
|
ret[i] = render(val[key], key, i);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (isDef(ret)) {
|
|
|
|
|
- (ret)._isVList = true;
|
|
|
|
|
|
|
+ if (!isDef(ret)) {
|
|
|
|
|
+ ret = [];
|
|
|
}
|
|
}
|
|
|
|
|
+ (ret)._isVList = true;
|
|
|
return ret
|
|
return ret
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -5188,7 +5189,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
|
|
|
value: FunctionalRenderContext
|
|
value: FunctionalRenderContext
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
-Vue.version = '2.5.20';
|
|
|
|
|
|
|
+Vue.version = '2.5.21';
|
|
|
|
|
|
|
|
/* */
|
|
/* */
|
|
|
|
|
|
|
@@ -6846,7 +6847,7 @@ function genComponentModel (
|
|
|
|
|
|
|
|
el.model = {
|
|
el.model = {
|
|
|
value: ("(" + value + ")"),
|
|
value: ("(" + value + ")"),
|
|
|
- expression: ("\"" + value + "\""),
|
|
|
|
|
|
|
+ expression: JSON.stringify(value),
|
|
|
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
|
|
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
|
|
|
};
|
|
};
|
|
|
}
|
|
}
|
|
@@ -9467,7 +9468,7 @@ function processKey (el) {
|
|
|
var parent = el.parent;
|
|
var parent = el.parent;
|
|
|
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
|
|
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
|
|
|
warn$2(
|
|
warn$2(
|
|
|
- "Do not use v-for index as key on <transtion-group> children, " +
|
|
|
|
|
|
|
+ "Do not use v-for index as key on <transition-group> children, " +
|
|
|
"this is the same as not using keys."
|
|
"this is the same as not using keys."
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
@@ -10584,7 +10585,9 @@ function genChildren (
|
|
|
el$1.tag !== 'template' &&
|
|
el$1.tag !== 'template' &&
|
|
|
el$1.tag !== 'slot'
|
|
el$1.tag !== 'slot'
|
|
|
) {
|
|
) {
|
|
|
- var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
|
|
|
|
|
|
|
+ var normalizationType = checkSkip
|
|
|
|
|
+ ? state.maybeComponent(el$1) ? ",1" : ",0"
|
|
|
|
|
+ : "";
|
|
|
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
|
|
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
|
|
|
}
|
|
}
|
|
|
var normalizationType$1 = checkSkip
|
|
var normalizationType$1 = checkSkip
|