Commit 9ae7db6d by doszhang

dos

parent 87eff597
...@@ -757,7 +757,7 @@ function createList(target, flag, no, wrapNum = 0) { ...@@ -757,7 +757,7 @@ function createList(target, flag, no, wrapNum = 0) {
let nowLen = 0; let nowLen = 0;
for (let i = 0; i < flag.length; i++) { for (let i = 0; i < flag.length; i++) {
const tLen = calculateStringLength(flag[i]); const tLen = calculateStringLength(flag[i]);
if (nowLen + tlen <= wrapNum) { if (nowLen + tLen <= wrapNum) {
res += flag[i]; res += flag[i];
nowLen++; nowLen++;
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment