浏览代码

billsQuantityDecimal兼容旧项目

zhongzewei 7 年之前
父节点
当前提交
77db016395
共有 1 个文件被更改,包括 1 次插入1 次删除
  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));
             }
         });