Browse Source

Pull request #3520: BI-125622 fix(core/func/alias): substring 当 substr 用了

Merge in VISUAL/fineui from ~XAVIER.MENG/fineui:es6 to es6

* commit '0b2defd662bafadc13bc48779c43a4898f4ab3ef':
  BI-125622 fix(core/func/alias): substring 当 substr 用了
es6
Xavier.Meng-孟宇翔 2 years ago
parent
commit
27d9079d50
  1. 2
      packages/fineui/src/core/func/alias.js

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

@ -337,7 +337,7 @@ function _dealWithLeft(tleft, fleft) {
newstr = "";
let n = res.length - 1 - combo;
for (; n >= 0; n = n - combo) {
newstr = `${res.substring(n, combo)},${newstr}`;
newstr = `${res.substring(n, n + combo)},${newstr}`;
}
const lres = res.substring(0, n + combo);
if (!isEmpty(lres)) {

Loading…
Cancel
Save