Latest updates from IceHrmPro
This commit is contained in:
31
web/node_modules/rc-cascader/lib/utils.js
generated
vendored
Normal file
31
web/node_modules/rc-cascader/lib/utils.js
generated
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.isEqualArrays = isEqualArrays;
|
||||
|
||||
function isEqualArrays(arrA, arrB) {
|
||||
if (arrA === arrB) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!arrA || !arrB) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var len = arrA.length;
|
||||
|
||||
if (arrB.length !== len) {
|
||||
return false;
|
||||
} // eslint-disable-next-line no-plusplus
|
||||
|
||||
|
||||
for (var i = 0; i < len; i++) {
|
||||
if (arrA[i] !== arrB[i]) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user