Browse Source

Pull request #3506: 无jira fix

Merge in VISUAL/fineui from ~DAILER/fineui:es6 to es6

* commit '735552cbb158c0cb3baffddf1a09a27b851a996d':
  无jira fix
es6
Dailer-刘荣歆 2 years ago
parent
commit
0dc0226ae9
  1. 2
      packages/fineui/src/core/func/array.js

2
packages/fineui/src/core/func/array.js

@ -7,7 +7,7 @@ export function pushArray(sArray, array) {
}
export function pushDistinct(sArray, obj) {
if (sArray.indexOf(obj) !== -1) {
if (sArray.indexOf(obj) === -1) {
sArray.push(obj);
}
}

Loading…
Cancel
Save