Commit 42ef6416 by liangjianmin

修改生命周期钩子名称,将 onShow 更改为 onLoad,以符合 Vue.js 规范

parent a0d9972f
Showing with 1 additions and 1 deletions
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
} }
}; };
}, },
onShow() { onLoad() {
this.getData(); this.getData();
}, },
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment