Explorar o código

billsQuantityDecimal兼容旧项目

zhongzewei %!s(int64=7) %!d(string=hai) anos
pai
achega
77db016395
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/building_saas/main/js/views/project_info.js

+ 1 - 1
web/building_saas/main/js/views/project_info.js

@@ -28,7 +28,7 @@ var projectInfoObj = {
                 that.projectInfo = data;
                 //init decimal
                 setDecimal(decimalObj, data.property.decimal);
-                billsQuanDecimal.datas = data.property.billsQuantityDecimal;
+                billsQuanDecimal.datas = data.property.billsQuantityDecimal || [billsDecimalView.angleDecimal];
                 $('#fullpath').html(that.getFullPathHtml(that.projectInfo));
             }
         });