Browse Source

Pull request #3118: 无JIRA fix: 严格模式支持

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

* commit '7f7372cd43c0c82a45f7fd145d1514834bf050c7':
  无JIRA fix: 严格模式支持
es6
Dailer-刘荣歆 2 years ago
parent
commit
ba8c6f037f
  1. 4
      src/core/2.base.js

4
src/core/2.base.js

@ -389,7 +389,7 @@
} }
for (var i = 0, len = array.length; i < len; i++) { for (var i = 0, len = array.length; i < len; i++) {
if (BI.isArray(array[i])) { if (BI.isArray(array[i])) {
res.push(arguments.callee(array[i], value)); res.push(BI.makeArrayByArray(array[i], value));
} else { } else {
res.push(BI.deepClone(value)); res.push(BI.deepClone(value));
} }
@ -987,7 +987,7 @@
* @param DD * @param DD
* @param minDate '1900-01-01' * @param minDate '1900-01-01'
* @param maxDate '2099-12-31' * @param maxDate '2099-12-31'
* @returns {Array} 若无效返回无效状态 * @returns {Array} 若无效返回无效状态,数组第一位为无效属性,第二位缺省为超下限,1为超上限
*/ */
checkDateVoid: function (YY, MM, DD, minDate, maxDate) { checkDateVoid: function (YY, MM, DD, minDate, maxDate) {
var back = []; var back = [];

Loading…
Cancel
Save