@jx3box/jx3box-common-ui 8.6.9 → 8.7.0

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.6.9",
3
+ "version": "8.7.0",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -56,7 +56,7 @@ import User from "@jx3box/jx3box-common/js/user";
56
56
  import { getBreadcrumb } from "@jx3box/jx3box-common/js/api_misc";
57
57
  export default {
58
58
  name: "Homework",
59
- props: ["postType", "postId", "userId", "client", "modelValue"],
59
+ props: ["postType", "postId", "userId", "client", "modelValue", "articleId", "category"],
60
60
  model: {
61
61
  prop: "modelValue",
62
62
  event: "update:modelValue"
@@ -176,7 +176,8 @@ export default {
176
176
  const fn = this.type === 'reward' ? rewardBoxcoin : grantBoxcoin;
177
177
  fn(this.postType, this.postId, this.userId, count, {
178
178
  remark: this.remark,
179
- client : client
179
+ client : client,
180
+ redirect: `/${this.category}/${this.articleId}`
180
181
  })
181
182
  .then((res) => {
182
183
  this.$message({