Authored by TaoHuang

fix notice

@@ -14,24 +14,20 @@ @@ -14,24 +14,20 @@
14 14
15 <script> 15 <script>
16 import { createNamespacedHelpers } from 'vuex'; 16 import { createNamespacedHelpers } from 'vuex';
17 -  
18 -const { mapState, mapActions } = createNamespacedHelpers('notice');  
19 import NoticeItem from './components/noticeItem'; 17 import NoticeItem from './components/noticeItem';
20 import UfoNoItem from '../../../components/ufo-no-item'; 18 import UfoNoItem from '../../../components/ufo-no-item';
21 19
  20 +const { mapState, mapActions } = createNamespacedHelpers('notice');
  21 +
22 import { 22 import {
23 - Style,  
24 Scroll, 23 Scroll,
25 - RecycleList  
26 } from 'cube-ui'; 24 } from 'cube-ui';
27 25
28 export default { 26 export default {
29 components: { 27 components: {
30 NoticeItem, 28 NoticeItem,
31 - Style,  
32 Scroll, 29 Scroll,
33 UfoNoItem, 30 UfoNoItem,
34 - RecycleList  
35 }, 31 },
36 data() { 32 data() {
37 return { 33 return {
@@ -43,7 +39,7 @@ export default { @@ -43,7 +39,7 @@ export default {
43 }, 39 },
44 }; 40 };
45 }, 41 },
46 - created() { 42 + mounted() {
47 this.fetchList(); 43 this.fetchList();
48 }, 44 },
49 45