@jx3box/jx3box-common-ui 8.8.6 → 8.8.7

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": "@jx3box/jx3box-common-ui",
3
- "version": "8.8.6",
3
+ "version": "8.8.7",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -137,7 +137,7 @@ export default {
137
137
  items: this.items,
138
138
  remark: this.remark,
139
139
  client: client,
140
- category: this.category,
140
+ redirect: this.category ? `/${this.category}/${this.postId}` : undefined,
141
141
  })
142
142
  .then((res) => {
143
143
  return res.data.data;
@@ -147,7 +147,7 @@ export default {
147
147
  remark: this.remark,
148
148
  client : client,
149
149
  // 如果有category,传入category
150
- category : this.category
150
+ redirect: this.category ? `/${this.category}/${this.postId}` : undefined
151
151
  })
152
152
  .then((res) => {
153
153
  this.$message({
@@ -131,7 +131,7 @@ export default {
131
131
  rewardBoxcoin(this.postType, this.postId, this.chosen || this.userId, count, {
132
132
  remark: this.remark,
133
133
  client: client,
134
- category: this.category
134
+ redirect: this.category ? `/${this.category}/${this.postId}` : undefined
135
135
  })
136
136
  .then((res) => {
137
137
  this.$message({