@jx3box/jx3box-common-ui 8.6.9 → 8.7.1
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 +1 -1
- package/src/header/nav.vue +1 -1
- package/src/interact/Homework.vue +3 -2
package/package.json
CHANGED
package/src/header/nav.vue
CHANGED
|
@@ -152,7 +152,7 @@ const activeNav = {
|
|
|
152
152
|
"exam",
|
|
153
153
|
"body",
|
|
154
154
|
],
|
|
155
|
-
|
|
155
|
+
community: ["bbs", "topic", "emotion", "joke", "namespace", "collection", "community"],
|
|
156
156
|
pvp: ["pvp"],
|
|
157
157
|
};
|
|
158
158
|
|
|
@@ -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({
|