소스 검색

章级编号调整

MaiXinRong 5 년 전
부모
커밋
b3b127fbd0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/extend/helper.js

+ 1 - 1
app/extend/helper.js

@@ -423,7 +423,7 @@ module.exports = {
         const reg = /^[0-9]*$/;
         if (reg.test(codePath[0])) {
             const num = parseInt(codePath[0]);
-            return this.mul(this.div(num, 100, 0), 100);
+            return this.mul(this.div(num, 100, 0), 100) + '';
         } else {
             return '';
         }