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