Commit 20adb9e3 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 216086bd
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
try { try {
// 在子组件重写show()代替onShow() // 在子组件重写show()代替onShow()
if (this.currentPage == 0) { if (this.currentPage == 0) {
// this.$refs.index.show(); this.$refs.index.show();
} else if (this.currentPage == 1) { } else if (this.currentPage == 1) {
// this.$refs.recommend.show(); // this.$refs.recommend.show();
} else if (this.currentPage == 2) { } else if (this.currentPage == 2) {
......
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 to comment