tradeIncome.vue
737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<template>
<LayoutApp :show-back="true">
<div class="body" ref="body">
<h2>trade</h2>
</div>
</LayoutApp>
</template>
<script>
// import tabItem from './components/tabItem';
import { createNamespacedHelpers } from 'vuex';
const {mapGetters, mapActions} = createNamespacedHelpers('home/mine');
export default {
data() {
return {
}
},
computed:{
},
created() {
this.fetchAssets().then(data => {
console.log(data)
})
},
methods: {
...mapActions(['fetchAssets'])
},
components: {
}
};
</script>
<style lang="scss" scoped>
.body {
height: 100%;
overflow-y: auto;
background-color: white;
padding: 0 40px;
}
</style>