Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b99a0ab

Browse files
committed
更新[BoxJs TF]: 修复一处导致白屏逻辑
1 parent 747fd56 commit b99a0ab

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

box/chavy.boxjs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio
16261626
const apps = []
16271627
this.appSubs.forEach((appsub) => {
16281628
const sub = this.appSubCaches[appsub.url]
1629-
if (sub && sub.apps) {
1629+
if (sub && sub.apps && Array.isArray(sub.apps)) {
16301630
sub.apps.forEach((app) => {
16311631
this.loadAppBaseInfo(app)
16321632
apps.push(app)

box/chavy.boxjs.js

Lines changed: 2 additions & 2 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.7.55'
6+
$.version = '0.7.56'
77
$.versionType = 'beta'
88

99
/**
@@ -253,7 +253,7 @@ function getBoxData() {
253253
sysapps.forEach((app) => Object.assign(datas, getAppDatas(app)))
254254
usercfgs.appsubs.forEach((sub) => {
255255
const subcache = appSubCaches[sub.url]
256-
if (subcache && subcache.apps) {
256+
if (subcache && subcache.apps && Array.isArray(subcache.apps)) {
257257
subcache.apps.forEach((app) => Object.assign(datas, getAppDatas(app)))
258258
}
259259
})

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.7.56",
5+
"tags": ["beta"],
6+
"author": "@chavyleung",
7+
"msg": "更新[BoxJs TF]: 修复一处导致白屏逻辑",
8+
"notes": [
9+
{
10+
"name": "修复",
11+
"descs": ["修复一处导致白屏逻辑"]
12+
}
13+
]
14+
},
315
{
416
"version": "0.7.55",
517
"tags": ["beta"],

0 commit comments

Comments
 (0)