添加佛前供灯
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
<script>
|
||||
import { getMeritBox, } from '@/api';
|
||||
import { swiper, swiperSlide } from 'vue-awesome-swiper';
|
||||
|
||||
import { mapState } from 'vuex';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -86,6 +86,7 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['temple_merit_id']),
|
||||
swiper(){
|
||||
return this.$refs.swiper.swiper;
|
||||
}
|
||||
@@ -114,7 +115,7 @@ export default {
|
||||
|
||||
async getMeritBox(){
|
||||
const current = this.nav.find(item => item.id === this.type_id);
|
||||
const res = await getMeritBox(this.query.temple_id || '1', current.id, current.page, current.size);
|
||||
const res = await getMeritBox(this.temple_merit_id || this.query.temple_id || '1', current.id, current.page, current.size);
|
||||
this.info = res.merit_box_info;
|
||||
this.total = res.merit_box_order.total;
|
||||
current.list = res.merit_box_order.list
|
||||
|
||||
Reference in New Issue
Block a user