@titaui/pc 1.12.32 → 1.12.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -120,7 +120,7 @@ var EvaluationDialog = function EvaluationDialog(props) {
120
120
  remark: remark,
121
121
  type: Number(evaluateType),
122
122
  value: value,
123
- user: res === null || res === void 0 ? void 0 : res.user
123
+ user: res === null || res === void 0 ? void 0 : res.userV2
124
124
  });
125
125
 
126
126
  _toast["default"].Success((0, _getLocale.getLocale)("Mod_Successfuloperat"));
@@ -51,6 +51,8 @@ var prefix = 'titaui-okr-progress';
51
51
  var isImport = false;
52
52
 
53
53
  var OkrProgress = function OkrProgress(_ref) {
54
+ var _rowsData$Rows;
55
+
54
56
  var data = _ref.data,
55
57
  reportType = _ref.reportType;
56
58
 
@@ -142,7 +144,7 @@ var OkrProgress = function OkrProgress(_ref) {
142
144
  setRowsData(JSON.parse(data || '{}'));
143
145
  }
144
146
  }, [data]);
145
- if (!(rowsData !== null && rowsData !== void 0 && rowsData.Rows.length)) return null;
147
+ if (!(rowsData !== null && rowsData !== void 0 && (_rowsData$Rows = rowsData.Rows) !== null && _rowsData$Rows !== void 0 && _rowsData$Rows.length)) return null;
146
148
  return /*#__PURE__*/_react["default"].createElement("div", {
147
149
  className: prefix
148
150
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -192,11 +192,12 @@ var DynamicReply = function DynamicReply(_ref) {
192
192
  alt: ""
193
193
  }))), dailyContent.map(function (item) {
194
194
  if (item.contentType === _constant.dailyContentType.richText) {
195
- return item.richContent !== "" && typeof item.richContent === "string" && /*#__PURE__*/_react["default"].createElement("div", {
195
+ return item.content !== '' && typeof item.richContent === "string" && /*#__PURE__*/_react["default"].createElement("div", {
196
196
  className: "".concat(prefix, "__work")
197
197
  }, item.title === "工作总结" ? (0, _getLocale.getLocale)('Tasks_Tab_MyS_JobSummary') : (0, _getLocale.getLocale)('Rep_Tab_Mys_NextWorkPlans'), /*#__PURE__*/_react["default"].createElement(_richEditor["default"], null, /*#__PURE__*/_react["default"].createElement(_richEditor.EditorComponent, {
198
198
  editable: false,
199
- initialState: JSON.parse(item.richContent || '{}')
199
+ initialState: JSON.parse(item.richContent || '{}'),
200
+ placeholder: (0, _getLocale.getLocale)('Rep_NewS_Notfilled')
200
201
  })));
201
202
  }
202
203
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.12.32",
3
+ "version": "1.12.35",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",