Showing
1 changed file
with
2 additions
and
1 deletions
| ... | ... | @@ -118,9 +118,10 @@ export default { |
| 118 | 118 | }; |
| 119 | 119 | }, |
| 120 | 120 | onLoad() { |
| 121 | - this.loadData(); | |
| 121 | + console.log('Onload the dofunc'); | |
| 122 | 122 | }, |
| 123 | 123 | created() { |
| 124 | + this.loadData(); | |
| 124 | 125 | //获取页面路径 |
| 125 | 126 | let currentPages = getCurrentPages(); |
| 126 | 127 | let page = currentPages[currentPages.length - 1]; | ... | ... |