doway-coms 1.7.2 → 1.7.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -114,7 +114,15 @@ export default {
114
114
  });
115
115
  },
116
116
  historyData(val) {
117
- this.$emit("historyData", val);
117
+ if (
118
+ val.logData.hasOwnProperty("code") &&
119
+ val.logData.hasOwnProperty("content")
120
+ ) {
121
+ val.logData = val.logData.content;
122
+ this.$emit("historyData", val);
123
+ } else {
124
+ this.$emit("historyData", val);
125
+ }
118
126
  },
119
127
  textColor(val) {
120
128
  switch (val) {