Skip to content

Commit

Permalink
更新[BoxJs TF]: 修复一处导致白屏逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
chavyleung committed Aug 25, 2020
1 parent 747fd56 commit b99a0ab
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion box/chavy.boxjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -1626,7 +1626,7 @@ <h2 :class="version === ver.version ? 'primary--text' : undefined">v{{ver.versio
const apps = []
this.appSubs.forEach((appsub) => {
const sub = this.appSubCaches[appsub.url]
if (sub && sub.apps) {
if (sub && sub.apps && Array.isArray(sub.apps)) {
sub.apps.forEach((app) => {
this.loadAppBaseInfo(app)
apps.push(app)
Expand Down
4 changes: 2 additions & 2 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.7.55'
$.version = '0.7.56'
$.versionType = 'beta'

/**
Expand Down Expand Up @@ -253,7 +253,7 @@ function getBoxData() {
sysapps.forEach((app) => Object.assign(datas, getAppDatas(app)))
usercfgs.appsubs.forEach((sub) => {
const subcache = appSubCaches[sub.url]
if (subcache && subcache.apps) {
if (subcache && subcache.apps && Array.isArray(subcache.apps)) {
subcache.apps.forEach((app) => Object.assign(datas, getAppDatas(app)))
}
})
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.7.56",
"tags": ["beta"],
"author": "@chavyleung",
"msg": "更新[BoxJs TF]: 修复一处导致白屏逻辑",
"notes": [
{
"name": "修复",
"descs": ["修复一处导致白屏逻辑"]
}
]
},
{
"version": "0.7.55",
"tags": ["beta"],
Expand Down

0 comments on commit b99a0ab

Please sign in to comment.