@giteeteam/apps-team-components 1.0.21 → 1.0.22
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.
|
@@ -130,7 +130,12 @@ const TransitionPanel = ({ itemId, itemType, workspace, objectId, onTransitionSu
|
|
|
130
130
|
let messageText = '';
|
|
131
131
|
try {
|
|
132
132
|
const data = JSON.parse(e.message);
|
|
133
|
-
|
|
133
|
+
if (typeof data === 'string' || typeof data === 'number') {
|
|
134
|
+
messageText = `, ${data}`;
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
Object.keys(data).forEach(k => (messageText += `, ${data[k]}`));
|
|
138
|
+
}
|
|
134
139
|
}
|
|
135
140
|
catch (pe) {
|
|
136
141
|
messageText = ', ' + e.message;
|