Browse Source

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

es6
Xavier.Meng 2 years ago
parent
commit
0b2defd662
  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