소스 검색

修复日期公式错误

xujunjie 1 년 전
부모
커밋
2fdf25c421
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/function/functionImplementation.js

+ 1 - 1
src/function/functionImplementation.js

@@ -11662,7 +11662,7 @@ const functionImplementation = {
             }
             var date = ""
             // 判断传入的值的类型
-            if(typeof v == 'string') {
+            if(typeof start_date == 'string') {
                 // v为类似与2020-01-01的字符串
                 date = dayjs(start_date).add(months, 'months');
             } else {