@jx3box/jx3box-editor 0.7.7 → 0.8.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/assets/data/detach_type.json +29 -0
- package/package.json +4 -4
- package/service/database.js +5 -3
- package/src/Resource.vue +1 -1
- package/src/SkillSimple.vue +0 -10
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"0":"",
|
|
3
|
+
"1":"外功气劲",
|
|
4
|
+
"2":"外功不利效果",
|
|
5
|
+
"3":"阳性气劲",
|
|
6
|
+
"4":"阳性不利效果",
|
|
7
|
+
"5":"混元气劲",
|
|
8
|
+
"6":"混元不利效果",
|
|
9
|
+
"7":"阴性气劲",
|
|
10
|
+
"8":"阴性不利效果",
|
|
11
|
+
"9":"点穴",
|
|
12
|
+
"10":"点穴不利效果",
|
|
13
|
+
"11":"毒性气劲",
|
|
14
|
+
"12":"毒性不利效果",
|
|
15
|
+
"13":"蛊",
|
|
16
|
+
"14":"蛊不利效果",
|
|
17
|
+
"15":"药石",
|
|
18
|
+
"16":"药石不利效果",
|
|
19
|
+
"17":"辅助类食品",
|
|
20
|
+
"18":"增强类食品",
|
|
21
|
+
"19":"辅助类药品",
|
|
22
|
+
"20":"增强类药品",
|
|
23
|
+
"21":"",
|
|
24
|
+
"22":"",
|
|
25
|
+
"23":"",
|
|
26
|
+
"24":"宴席",
|
|
27
|
+
"52":"",
|
|
28
|
+
"101":""
|
|
29
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jx3box/jx3box-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "JX3BOX Article & Editor",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"last 2 versions"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@jx3box/jx3box-common": "^6.6.
|
|
34
|
-
"@jx3box/jx3box-data": "^1.
|
|
35
|
-
"@jx3box/jx3box-emotion": "^1.0.
|
|
33
|
+
"@jx3box/jx3box-common": "^6.6.5",
|
|
34
|
+
"@jx3box/jx3box-data": "^1.6.2",
|
|
35
|
+
"@jx3box/jx3box-emotion": "^1.0.8",
|
|
36
36
|
"@jx3box/jx3box-macro": "^1.0.1",
|
|
37
37
|
"@jx3box/jx3box-talent": "^1.1.0",
|
|
38
38
|
"@tinymce/tinymce-vue": "^3.2.2",
|
package/service/database.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import axios from "axios";
|
|
2
2
|
import { __node, __helperUrl, __iconPath } from "@jx3box/jx3box-common/data/jx3box.json";
|
|
3
|
-
const API = __node;
|
|
3
|
+
const API = __node;
|
|
4
4
|
|
|
5
5
|
function loadResource(type, query, params) {
|
|
6
6
|
switch (type) {
|
|
@@ -8,8 +8,10 @@ function loadResource(type, query, params) {
|
|
|
8
8
|
return axios
|
|
9
9
|
.get(`${__helperUrl}api/item/search`, {
|
|
10
10
|
params: {keyword: query, page: params.page, limit: params.per},
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
headers: {
|
|
12
|
+
Accept: "application/prs.helper.v2+json",
|
|
13
|
+
'JX3-Client-Type': params.client == 'origin' ? 2 : 1,
|
|
14
|
+
},
|
|
13
15
|
withCredentials: true,
|
|
14
16
|
})
|
|
15
17
|
.then((res) => {
|
package/src/Resource.vue
CHANGED
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
import axios from "axios";
|
|
237
237
|
import { loadResource, loadStat, getIcons } from "../service/database";
|
|
238
238
|
import { __ossRoot, __iconPath } from "@jx3box/jx3box-common/data/jx3box.json";
|
|
239
|
-
import detach_types from "
|
|
239
|
+
import detach_types from "../assets/data/detach_type.json";
|
|
240
240
|
import User from "@jx3box/jx3box-common/js/user";
|
|
241
241
|
export default {
|
|
242
242
|
name: "Resource",
|