Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-16 08:56:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6c910102e1d3f15764ae606426bc05b63077a2ef
6c910102
1 parent
bd172bc4
fix 为空默认值
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/views/client/bookDetail.vue
src/views/me/donateList.vue
src/views/client/bookDetail.vue
View file @
6c91010
...
...
@@ -28,7 +28,7 @@
<van-col span="12">
<div style="font-size: 1rem; color: #999999; text-align: right;">
<van-icon :name="icon_video" />
{{ bookInfo.total }}个作品
{{ bookInfo.total
? bookInfo.total : 0
}}个作品
</div>
</van-col>
</van-row>
...
...
src/views/me/donateList.vue
View file @
6c91010
...
...
@@ -4,12 +4,12 @@
<van-row>
<van-col span="11" class="sum">
<p>捐赠总金额</p>
<p>{{ donateInfo.total }} 元</p>
<p>{{ donateInfo.total
? donateInfo.total : 0
}} 元</p>
</van-col>
<van-col span="1"><div class="line"></div></van-col>
<van-col class="book" span="11">
<p>点亮书籍</p>
<p>{{ donateInfo.num }} 个</p>
<p>{{ donateInfo.num
? donateInfo.num : 0
}} 个</p>
</van-col>
</van-row>
</div>
...
...
Please
register
or
login
to post a comment