Browse Source

修复bug

olym 7 năm trước cách đây
mục cha
commit
48c2dc7339
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      web/building_saas/main/js/views/character_content_view.js

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

@@ -668,7 +668,7 @@ let pageCCOprObj = {
         node.data.itemCharacter = itemCharacter;
         this.nameCache = name;
         // 根据规则设置对应特征、内容、名称格式
-        const setting = projectObj.project.property.addRule !== undefined ? projectObj.project.property.addRule : null;
+        const setting = projectObj.project.property.addRule !== undefined ? projectObj.project.property.addRule : getAddRuleSetting();
         const updateData = pageCCOprObj.getCharacterUpdateData(setting, node);
         node.data.jobContentText = updateData.jobContentText;
         node.data.itemCharacterText = updateData.itemCharacterText;