File tree Expand file tree Collapse file tree 6 files changed +25
-666
lines changed Expand file tree Collapse file tree 6 files changed +25
-666
lines changed Original file line number Diff line number Diff line change @@ -109,24 +109,19 @@ var withDefault = function withDefault(type) {
109109 warn ( this . _vueTypes_name + " - invalid default value: \"" + def + "\"" , def ) ;
110110 return this ;
111111 }
112- < << << << HEAD
113112
114- this . default = isArray ( def ) || ( 0 , _isPlainObject . default ) ( def ) ? function ( ) {
115- return def ;
116- } : def ;
117- = === ===
118113 if ( isArray ( def ) ) {
119114 this . default = function ( ) {
120- return [ ] . concat ( def ) ;
115+ return def . concat ( ) ;
121116 } ;
122- } else if ( ( 0 , _lodash2 . default ) ( def ) ) {
117+ } else if ( ( 0 , _isPlainObject . default ) ( def ) ) {
123118 this . default = function ( ) {
124119 return Object . assign ( { } , def ) ;
125120 } ;
126121 } else {
127122 this . default = def ;
128123 }
129- > >>> >>> 5769 a2c3b502e79499fbd1de6a4c2542b7ea4d7e
124+
130125 return this ;
131126 } ,
132127 enumerable : false ,
Original file line number Diff line number Diff line change @@ -78,15 +78,10 @@ export var withDefault = function withDefault(type) {
7878 warn ( this . _vueTypes_name + " - invalid default value: \"" + def + "\"" , def ) ;
7979 return this ;
8080 }
81- < << << << HEAD
8281
83- this . default = isArray ( def ) || isPlainObject ( def ) ? function ( ) {
84- return def ;
85- } : def ;
86- = === ===
8782 if ( isArray ( def ) ) {
8883 this . default = function ( ) {
89- return [ ] . concat ( def ) ;
84+ return def . concat ( ) ;
9085 } ;
9186 } else if ( isPlainObject ( def ) ) {
9287 this . default = function ( ) {
@@ -95,7 +90,7 @@ export var withDefault = function withDefault(type) {
9590 } else {
9691 this . default = def ;
9792 }
98- > >>> >>> 5769 a2c3b502e79499fbd1de6a4c2542b7ea4d7e
93+
9994 return this ;
10095 } ,
10196 enumerable : false ,
You can’t perform that action at this time.
0 commit comments