Skip to content

Commit

Permalink
fix:std name
Browse files Browse the repository at this point in the history
  • Loading branch information
iRuxu committed Jan 7, 2024
1 parent a04291c commit 393939b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion data/jx3box.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"__iconPath": "https://icon.jx3box.com/",

"__clients": {
"std": "重制",
"std": "旗舰",
"origin": "缘起",
"wujie": "无界",
"all": "双端"
Expand Down
4 changes: 2 additions & 2 deletions js/wiki.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const wiki = {
source = res.data.data.source;
users = res.data.data.users;
post && (isEmpty = false);
console.log("获取重制攻略");
console.log("获取旗舰攻略");
return { post, source, isEmpty, compatible, type: source_type, source_id: source_id, users };
} else {
const res_1 = await this.get({ type: source_type, id: source_id }, { client, ...params });
Expand All @@ -88,7 +88,7 @@ const wiki = {
console.log("获取缘起攻略");
const data = !!res_1.data.data.post;
if (!data) {
console.log("兼容:获取重制攻略");
console.log("兼容:获取旗舰攻略");
return this.get({ type: source_type, id: source_id }, { client: 'std', ...params }).then(res_2 => {
post = res_2.data.data.post;
if (!source)
Expand Down
4 changes: 2 additions & 2 deletions js/wiki_v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const wiki = {
source = res.data.data.source;
users = res.data.data.users;
post && (isEmpty = false);
console.log("获取重制攻略");
console.log("获取旗舰攻略");
return { post, source, isEmpty, compatible, type: source_type, source_id: source_id, users };
} else {
const res_1 = await this.get({ type: source_type, id: source_id }, { client, ...params });
Expand All @@ -98,7 +98,7 @@ export const wiki = {
console.log("获取缘起攻略");
const data = !!res_1.data.data.post;
if (!data) {
console.log("兼容:获取重制攻略");
console.log("兼容:获取旗舰攻略");
return this.get({ type: source_type, id: source_id }, { client: 'std', ...params }).then(res_2 => {
post = res_2.data.data.post;
if (!source)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jx3box/jx3box-common",
"version": "8.2.0",
"version": "8.2.1",
"description": "JX3BOX公共基础模块",
"main": "main.js",
"repository": {
Expand Down

0 comments on commit 393939b

Please sign in to comment.