Skip to content

Commit

Permalink
修复前层级前空位数问题
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoniotheFuture committed Apr 19, 2022
1 parent 34b612b commit 17df2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExcelFormulaBeautifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ let ExcelFormulaBeautifier = {
let row = '';
for(let i =0 ; i < this.results.length;i++){
const result = this.results[i];
row = row + this.space.repeat(result.level);
row = row + this.space.repeat(result.level < 0 ? 0 : result.level);
row = row + result.word;
for(let i = 0;i < this.pureStrings.length; i++){
row = row.replace(this.stringVarName + i,this.pureStrings[i]);
Expand Down

0 comments on commit 17df2ec

Please sign in to comment.