|
@@ -10,7 +10,7 @@
|
|
|
<tabs class="tab-content" onchange="tabbarChange" index="{{current}}">
|
|
|
<tab-content>
|
|
|
<home-page @change="pageSwitch" tabindex="{{current}}"></home-page>
|
|
|
- <shelf-page tabindex="{{current}}"></shelf-page>
|
|
|
+ <shelf-page @change="pageTohome" tabindex="{{current}}"></shelf-page>
|
|
|
<my-page @customer="openCustomer" tabindex="{{current}}"></my-page>
|
|
|
</tab-content>
|
|
|
</tabs>
|
|
@@ -238,6 +238,9 @@ export default {
|
|
|
pageSwitch() {
|
|
|
this.current = 1;
|
|
|
},
|
|
|
+ pageTohome(){
|
|
|
+ this.current = 0;
|
|
|
+ },
|
|
|
changeSignPop() {
|
|
|
this.showSignPop = !this.showSignPop;
|
|
|
},
|