@jx3box/jx3box-common-ui 8.6.1 → 8.6.2

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.1",
3
+ "version": "8.6.2",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -68,4 +68,4 @@
68
68
  "type": "git",
69
69
  "url": "git+https://github.com/JX3BOX/jx3box-common-ui.git"
70
70
  }
71
- }
71
+ }
@@ -227,6 +227,11 @@ export default {
227
227
  });
228
228
  },
229
229
  handleCheck() {
230
+ const id = this.post.id;
231
+ if (!id) {
232
+ this.$message.error("ID不存在!");
233
+ return;
234
+ }
230
235
  this.$confirm(`此操作将该数据转为 待审核 状态, 是否继续?`, "提示", {
231
236
  confirmButtonText: "确定",
232
237
  cancelButtonText: "取消",
@@ -237,7 +242,8 @@ export default {
237
242
  type: "success",
238
243
  message: "操作成功!",
239
244
  });
240
- this.load();
245
+ this.$emit("update:modelValue", false);
246
+ window.location.href = "/community";
241
247
  });
242
248
  });
243
249
  },