From 0bbdc516cea4104e7e95956dd701f7edba5d6a67 Mon Sep 17 00:00:00 2001 From: GideonSenku Date: Thu, 5 Sep 2024 23:04:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(boxjs):=20=E4=BC=9A=E8=AF=9D=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B8=8D=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- box/chavy.boxjs.js | 10 +++++----- box/release/box.release.json | 12 ++++++++++++ box/release/box.release.tf.json | 12 ++++++++++++ chavy.box.js | 10 +++++----- 4 files changed, 34 insertions(+), 10 deletions(-) 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) }) } })