Skip to content

Commit

Permalink
fix(boxjs): 会话数据不展示
Browse files Browse the repository at this point in the history
  • Loading branch information
gideonsenku committed Sep 5, 2024
1 parent 90b4ff8 commit 0bbdc51
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 10 deletions.
10 changes: 5 additions & 5 deletions box/chavy.boxjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const $ = new Env('BoxJs')
// 为 eval 准备的上下文环境
const $eval_env = {}

$.version = '0.19.12'
$.version = '0.19.13'
$.versionType = 'beta'

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

// 把 `内置应用`和`订阅应用` 里需要持久化属性放到`datas`
sysapps.forEach((app) => {
const datas = getAppDatas(app)
Object.assign(datas, datas)
const newDatas = getAppDatas(app)
Object.assign(datas, newDatas)
})
usercfgs.appsubs.forEach((sub) => {
const subcache = appSubCaches[sub.url]
if (subcache && subcache.apps && Array.isArray(subcache.apps)) {
subcache.apps.forEach((app) => {
const datas = getAppDatas(app)
Object.assign(datas, datas)
const newDatas = getAppDatas(app)
Object.assign(datas, newDatas)
})
}
})
Expand Down
12 changes: 12 additions & 0 deletions box/release/box.release.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"releases": [
{
"version": "0.19.13",
"tags": ["beta"],
"author": "@GideonSenku",
"msg": "fix(boxjs): 会话数据不展示",
"notes": [
{
"name": "修复",
"descs": ["代码逻辑问题导致会话数据不展示"]
}
]
},
{
"version": "0.19.12",
"tags": ["beta"],
Expand Down
12 changes: 12 additions & 0 deletions box/release/box.release.tf.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"releases": [
{
"version": "0.19.13",
"tags": ["beta"],
"author": "@GideonSenku",
"msg": "fix(boxjs): 会话数据不展示",
"notes": [
{
"name": "修复",
"descs": ["代码逻辑问题导致会话数据不展示"]
}
]
},
{
"version": "0.19.12",
"tags": ["beta"],
Expand Down
10 changes: 5 additions & 5 deletions chavy.box.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const $ = new Env('BoxJs')
// 为 eval 准备的上下文环境
const $eval_env = {}

$.version = '0.19.12'
$.version = '0.19.13'
$.versionType = 'beta'

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

// 把 `内置应用`和`订阅应用` 里需要持久化属性放到`datas`
sysapps.forEach((app) => {
const datas = getAppDatas(app)
Object.assign(datas, datas)
const newDatas = getAppDatas(app)
Object.assign(datas, newDatas)
})
usercfgs.appsubs.forEach((sub) => {
const subcache = appSubCaches[sub.url]
if (subcache && subcache.apps && Array.isArray(subcache.apps)) {
subcache.apps.forEach((app) => {
const datas = getAppDatas(app)
Object.assign(datas, datas)
const newDatas = getAppDatas(app)
Object.assign(datas, newDatas)
})
}
})
Expand Down

0 comments on commit 0bbdc51

Please sign in to comment.