File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -86,15 +86,11 @@ export function renderMixin (Vue: Class<Component>) {
86
86
// return error render result,
87
87
// or previous vnode to prevent render error causing blank component
88
88
/* istanbul ignore else */
89
- if ( process . env . NODE_ENV !== 'production' ) {
90
- if ( vm . $options . renderError ) {
91
- try {
92
- vnode = vm . $options . renderError . call ( vm . _renderProxy , vm . $createElement , e )
93
- } catch ( e ) {
94
- handleError ( e , vm , `renderError` )
95
- vnode = vm . _vnode
96
- }
97
- } else {
89
+ if ( process . env . NODE_ENV !== 'production' && vm . $options . renderError ) {
90
+ try {
91
+ vnode = vm . $options . renderError . call ( vm . _renderProxy , vm . $createElement , e )
92
+ } catch ( e ) {
93
+ handleError ( e , vm , `renderError` )
98
94
vnode = vm . _vnode
99
95
}
100
96
} else {
You can’t perform that action at this time.
0 commit comments