فهرست منبع

修复日期公式错误

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 {