Authored by TaoHuang

fix tab

... ... @@ -34,6 +34,8 @@ export default {
new Date().getMonth() + 1
]});
this.setTab({value: 0});
const result = await this.fetchOrderDetailList();
this.$refs.list.forceUpdate(result);
... ... @@ -43,7 +45,8 @@ export default {
},
methods: {
...mapMutations({
setDate: 'SET_DATE'
setDate: 'SET_DATE',
setTab: 'SET_TAB'
}),
...mapActions(['fetchOrderDetailList']),
dateHandler() {
... ... @@ -81,7 +84,7 @@ export default {
<style lang="scss" scoped>
/deep/ .layout-context {
background-color: #fefefe!important;
background-color: #fefefe !important;
}
.date-filter-wrapper {
... ...