相册
This commit is contained in:
@@ -6,19 +6,19 @@
|
||||
</div>
|
||||
<div class="num-row">
|
||||
<div class="item">
|
||||
<h3>13</h3>
|
||||
<h3>{{numInfo.total}}</h3>
|
||||
<p>照片</p>
|
||||
</div>
|
||||
<div class="item">
|
||||
<h3>13</h3>
|
||||
<h3>{{numInfo.lastMonth}}</h3>
|
||||
<p>本月</p>
|
||||
</div>
|
||||
<div class="item">
|
||||
<h3>13</h3>
|
||||
<h3>{{numInfo.thisMonth}}</h3>
|
||||
<p>上月</p>
|
||||
</div>
|
||||
<div class="item">
|
||||
<h3>13</h3>
|
||||
<h3>{{numInfo.thisYear}}</h3>
|
||||
<p>今年</p>
|
||||
</div>
|
||||
</div>
|
||||
@@ -50,7 +50,8 @@ export default {
|
||||
list: [],
|
||||
limit: 9,
|
||||
size: 10 * 1024 * 1024,
|
||||
fileList: []
|
||||
fileList: [],
|
||||
numInfo: {}
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
@@ -86,7 +87,7 @@ export default {
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
|
||||
this.numInfo = res.data
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user