Skip to content

Commit 0bbdc51

Browse files
committed
fix(boxjs): 会话数据不展示
1 parent 90b4ff8 commit 0bbdc51

File tree

4 files changed

+34
-10
lines changed

4 files changed

+34
-10
lines changed

box/chavy.boxjs.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const $ = new Env('BoxJs')
33
// 为 eval 准备的上下文环境
44
const $eval_env = {}
55

6-
$.version = '0.19.12'
6+
$.version = '0.19.13'
77
$.versionType = 'beta'
88

99
// 发出的请求需要需要 Surge、QuanX 的 rewrite
@@ -329,15 +329,15 @@ function getBoxData() {
329329

330330
// 把 `内置应用`和`订阅应用` 里需要持久化属性放到`datas`
331331
sysapps.forEach((app) => {
332-
const datas = getAppDatas(app)
333-
Object.assign(datas, datas)
332+
const newDatas = getAppDatas(app)
333+
Object.assign(datas, newDatas)
334334
})
335335
usercfgs.appsubs.forEach((sub) => {
336336
const subcache = appSubCaches[sub.url]
337337
if (subcache && subcache.apps && Array.isArray(subcache.apps)) {
338338
subcache.apps.forEach((app) => {
339-
const datas = getAppDatas(app)
340-
Object.assign(datas, datas)
339+
const newDatas = getAppDatas(app)
340+
Object.assign(datas, newDatas)
341341
})
342342
}
343343
})

box/release/box.release.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
22
"releases": [
3+
{
4+
"version": "0.19.13",
5+
"tags": ["beta"],
6+
"author": "@GideonSenku",
7+
"msg": "fix(boxjs): 会话数据不展示",
8+
"notes": [
9+
{
10+
"name": "修复",
11+
"descs": ["代码逻辑问题导致会话数据不展示"]
12+
}
13+
]
14+
},
315
{
416
"version": "0.19.12",
517
"tags": ["beta"],

box/release/box.release.tf.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
22
"releases": [
3+
{
4+
"version": "0.19.13",
5+
"tags": ["beta"],
6+
"author": "@GideonSenku",
7+
"msg": "fix(boxjs): 会话数据不展示",
8+
"notes": [
9+
{
10+
"name": "修复",
11+
"descs": ["代码逻辑问题导致会话数据不展示"]
12+
}
13+
]
14+
},
315
{
416
"version": "0.19.12",
517
"tags": ["beta"],

chavy.box.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const $ = new Env('BoxJs')
33
// 为 eval 准备的上下文环境
44
const $eval_env = {}
55

6-
$.version = '0.19.12'
6+
$.version = '0.19.13'
77
$.versionType = 'beta'
88

99
// 发出的请求需要需要 Surge、QuanX 的 rewrite
@@ -329,15 +329,15 @@ function getBoxData() {
329329

330330
// 把 `内置应用`和`订阅应用` 里需要持久化属性放到`datas`
331331
sysapps.forEach((app) => {
332-
const datas = getAppDatas(app)
333-
Object.assign(datas, datas)
332+
const newDatas = getAppDatas(app)
333+
Object.assign(datas, newDatas)
334334
})
335335
usercfgs.appsubs.forEach((sub) => {
336336
const subcache = appSubCaches[sub.url]
337337
if (subcache && subcache.apps && Array.isArray(subcache.apps)) {
338338
subcache.apps.forEach((app) => {
339-
const datas = getAppDatas(app)
340-
Object.assign(datas, datas)
339+
const newDatas = getAppDatas(app)
340+
Object.assign(datas, newDatas)
341341
})
342342
}
343343
})

0 commit comments

Comments
 (0)