@jx3box/jx3box-common-ui 7.8.6 → 7.8.8

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": "7.8.6",
3
+ "version": "7.8.8",
4
4
  "description": "JX3BOX UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/service/admin.js CHANGED
@@ -14,7 +14,7 @@ function postSetting(data) {
14
14
 
15
15
  // 管理员发送私信
16
16
  function sendMessage(data) {
17
- return $cms().post(`/api/cms/admin/direct-message`, data);
17
+ return $cms().post(`/api/cms/manage/message`, data);
18
18
  }
19
19
 
20
20
  // 管理员新增自定义主题
package/src/App.vue CHANGED
@@ -247,7 +247,7 @@ export default {
247
247
  tab: "avatar",
248
248
 
249
249
  post: "",
250
- post_id: "35605",
250
+ post_id: "69014",
251
251
 
252
252
  author: "",
253
253
  wikiPost: null,
@@ -79,7 +79,7 @@ export default {
79
79
  if (item.type == "custom") {
80
80
  return item.url;
81
81
  } else {
82
- return getLink(item.type, item.id);
82
+ return getLink(item.post_type || item.type, item.id);
83
83
  }
84
84
  },
85
85
  },
package/vue.config.js CHANGED
@@ -45,7 +45,7 @@ module.exports = {
45
45
  },
46
46
  },
47
47
  "/api/cms": {
48
- target: process.env["DEV_SERVER"] == "true" ? "http://localhost:5120" : "https://cms.jx3box.com",
48
+ target: process.env["DEV_SERVER"] == "true" ? "http://localhost:7100" : "https://cms.jx3box.com",
49
49
  },
50
50
  "/api/article": {
51
51
  target: "https://next2.jx3box.com",