Skip to content

Commit

Permalink
更新[BoxJs]: 修复应用描述不换行问题
Browse files Browse the repository at this point in the history
  • Loading branch information
chavyleung committed Aug 11, 2020
1 parent 5c81b3c commit caf95cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions box/chavy.boxjs.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,11 @@ <h2>{{curapp.name}}</h2>
</v-subheader>
<v-card flat class="mb-4" color="transparent" v-if="curapp.desc || curapp.descs || curapp.desc_html || curapp.descs_html">
<v-card-subtitle>
<p v-if="curapp.desc" v-text="curapp.desc" class="curapptext-pre-wrap"></p>
<p v-if="curapp.desc" v-text="curapp.desc" class="text-pre-wrap"></p>
<p
v-for="(desc, descIdx) in curapp.descs"
v-text="desc"
:class="curapp.descs.length === descIdx + 1 ? 'curapptext-pre-wrap' : 'mb-0 curapptext-pre-wrap'"
:class="curapp.descs.length === descIdx + 1 ? 'curapptext-pre-wrap' : 'mb-0 text-pre-wrap'"
></p>
<p v-if="curapp.desc_html" v-html="curapp.desc_html"></p>
<div v-for="(desc_html, desc_htmlIdx) in curapp.descs_html" v-html="desc_html"></div>
Expand Down
2 changes: 1 addition & 1 deletion box/chavy.boxjs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const $ = new Env('BoxJs')

$.version = '0.7.3'
$.version = '0.7.4'
$.versionType = 'beta'

// 存储`用户偏好`
Expand Down

0 comments on commit caf95cd

Please sign in to comment.