diff --git a/box/chavy.boxjs.js b/box/chavy.boxjs.js index a95e36068..b0f953fd6 100644 --- a/box/chavy.boxjs.js +++ b/box/chavy.boxjs.js @@ -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 @@ -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) }) } }) diff --git a/box/release/box.release.json b/box/release/box.release.json index aaa53c85f..2059ded85 100644 --- a/box/release/box.release.json +++ b/box/release/box.release.json @@ -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"], diff --git a/box/release/box.release.tf.json b/box/release/box.release.tf.json index 902b15488..22f88ad03 100644 --- a/box/release/box.release.tf.json +++ b/box/release/box.release.tf.json @@ -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"], diff --git a/chavy.box.js b/chavy.box.js index a95e36068..b0f953fd6 100644 --- a/chavy.box.js +++ b/chavy.box.js @@ -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 @@ -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) }) } })