File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -989,6 +989,8 @@ window.ComponentLine = class {
989
989
let value ;
990
990
if ( type === 'input' || type === 'datetime' ) {
991
991
value = tfoot . querySelector ( `input[data-column="${ column } "]` ) . value ;
992
+ } else if ( type === 'select' ) {
993
+ value = this . INSERT_ROW_MENUE_DATA [ column ] ;
992
994
} else {
993
995
value = '' ;
994
996
}
@@ -1160,9 +1162,7 @@ window.ComponentLine = class {
1160
1162
selected . push ( id ) ;
1161
1163
( option . lastChild instanceof HTMLElement ) && option . lastChild . insertAdjacentHTML ( 'afterbegin' , check ) ;
1162
1164
menuSelect ( select , selected , limit ) ;
1163
- if ( insertRow === false ) {
1164
- this . DATA_INPUT . value = JSON . stringify ( this . DATA ) ;
1165
- }
1165
+ if ( insertRow === false ) this . DATA_INPUT . value = JSON . stringify ( this . DATA ) ;
1166
1166
} , false ) ;
1167
1167
/*init selected*/
1168
1168
if ( limit > 0 && selected . length >= limit ) selected . slice ( 0 , limit ) ;
You can’t perform that action at this time.
0 commit comments