积分公示
This commit is contained in:
@@ -98,13 +98,16 @@ export default {
|
||||
...mapState(['user']),
|
||||
},
|
||||
onLoad() {
|
||||
this.getToatl()
|
||||
this.getTotal()
|
||||
this.$dict.load(['integralSGType']).then(() => {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
onShow() {
|
||||
this.getTotal()
|
||||
},
|
||||
methods: {
|
||||
getToatl() {
|
||||
getTotal() {
|
||||
this.$instance.post(`/app/appintegraluser/integralUserInfoFD`).then(res => {
|
||||
if (res?.data) {
|
||||
this.total = res.data.integral || 0
|
||||
|
||||
Reference in New Issue
Block a user