Skip to content

Commit

Permalink
fix(vue-css-loader): fixed collapsable boolean convert error
Browse files Browse the repository at this point in the history
  • Loading branch information
zoomchan-cxj committed Jul 22, 2022
1 parent e7272ef commit c096c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/js/packages/hippy-vue-css-loader/src/css-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ function parseCSS(css, options) {
break;
}
case 'collapsable':
value = Boolean(value);
value = value !== 'false';
break;
default: {
value = tryConvertNumber(value);
Expand Down

0 comments on commit c096c0d

Please sign in to comment.