xujunjie 1 жил өмнө
parent
commit
2fdf25c421

+ 1 - 1
src/function/functionImplementation.js

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