Skip to content

Commit

Permalink
fix: resolve grammar problem (#2217)
Browse files Browse the repository at this point in the history
* fix: resolve grammar problem

* fix: recover unexpected changed
  • Loading branch information
LeeJim authored Jul 25, 2023
1 parent 1ac5ba5 commit e941403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/utils.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function includes(arr, value) {
function cls(base, arr) {
var res = [base];
var i = 0;
for (size = arr.length; i < size; i++) {
for (var size = arr.length; i < size; i++) {
var item = arr[i];

if (item && item.constructor === 'Array') {
Expand Down Expand Up @@ -105,7 +105,7 @@ function _style(styles) {
return item != null && item !== '';
})
.map(function (item) {
return isArray(item) ? style(item) : endsWith(item, ';');
return isArray(item) ? _style(item) : endsWith(item, ';');
})
.join(' ');
}
Expand Down

0 comments on commit e941403

Please sign in to comment.