Browse Source

修复日期公式错误

xujunjie 1 năm trước cách đây
mục cha
commit
2fdf25c421
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {