Explorar o código

debug 重构js函数名称

lionared %!s(int64=6) %!d(string=hai) anos
pai
achega
f63cf0ccb5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      shop/resource/js/store_goods_add.step2.js

+ 2 - 2
shop/resource/js/store_goods_add.step2.js

@@ -692,8 +692,8 @@ function discountCalculator() {
     }
 }
 
-function formatUnixTime(unix_time) {
-    var date = new Date(parseInt(unix_time));
+function formatTimeStampToDate(time_stamp) {
+    var date = new Date(parseInt(time_stamp));
     var y = date.getFullYear();
     var m = date.getMonth() + 1;
     m = m < 10 ? ('0' + m) : m;