Skip to content

Commit

Permalink
Mobile.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
zpqsunny committed Nov 25, 2021
1 parent 2a0d359 commit b8ba734
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/store/index.js
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ export default new Vuex.Store({
{
method: 'torrent-get',
arguments: {
fields: ['id', 'name', 'status', 'hashString', 'totalSize', 'percentDone', 'addedDate', 'leftUntilDone',
fields: ['id', 'name', 'status', 'hashString', 'totalSize', 'percentDone', 'addedDate', 'leftUntilDone', 'sizeWhenDone',
'rateDownload', 'rateUpload', 'recheckProgress', 'peersGettingFromUs', 'peersSendingToUs', 'eta', 'metadataPercentComplete',
'uploadRatio', 'uploadedEver', 'downloadedEver', 'downloadDir', 'error', 'errorString', 'doneDate', 'queuePosition',
'activityDate'
6 changes: 3 additions & 3 deletions src/views/Mobile.vue
Original file line number Diff line number Diff line change
@@ -126,10 +126,10 @@
</v-list-item-subtitle>
<v-list-item-subtitle>
<template v-if="item.metadataPercentComplete >= 1">
<span>{{ item.downloadedEver | unitFormat }}</span> /
<span>{{ item.totalSize | unitFormat }}</span>&nbsp;
<span>{{ item.downloadedEver | unitFormat }} /</span>
<span>{{ item.totalSize | unitFormat }}</span>
</template>
<span v-if="item.eta > 0" class="text-no-wrap down-color">剩余 {{ item.eta | timeInterval }}</span>
<span v-if="item.eta > 0" class="text-no-wrap down-color"> 剩余 {{ item.eta | timeInterval }}</span>
</v-list-item-subtitle>
</v-list-item-content>
</template>

0 comments on commit b8ba734

Please sign in to comment.