@titaui/pc 1.12.7-beta.15 → 1.12.7-beta.16

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.
@@ -269,7 +269,7 @@ var DynamicItemHeader = function DynamicItemHeader(_ref) {
269
269
  return item.title === "心情";
270
270
  }); // 暂时用title
271
271
 
272
- if (typeof mindData[0].content === 'string') {
272
+ if (typeof mindData[0].content === 'string' && mindData[0].content !== '') {
273
273
  setMindImg(_constant2.Motion.filter(function (item) {
274
274
  return item.id === JSON.parse(mindData[0].content).SelectedValues[0];
275
275
  })[0].img);
@@ -169,7 +169,7 @@ var DynamicReply = function DynamicReply(_ref) {
169
169
  return item.title === "下一步工作计划";
170
170
  })[0].content);
171
171
 
172
- if (typeof mindData[0].content === 'string') {
172
+ if (typeof mindData[0].content === 'string' && mindData[0].content !== '') {
173
173
  setMindImg(_constant.Motion.filter(function (item) {
174
174
  return item.id === JSON.parse(mindData[0].content).SelectedValues[0];
175
175
  })[0].img);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.12.7-beta.15",
3
+ "version": "1.12.7-beta.16",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",