|
@@ -191,7 +191,7 @@ export default{
|
|
|
}
|
|
|
},
|
|
|
change : function(e) {
|
|
|
- this.swiper.index = parseInt(e.detail.current);
|
|
|
+ this.fetch.index = this.swiper.index = parseInt(e.detail.current);
|
|
|
//用户记录
|
|
|
this.record();
|
|
|
this.controlHandle();
|
|
@@ -221,7 +221,7 @@ export default{
|
|
|
uni.setNavigationBarTitle({
|
|
|
title:t.info.name
|
|
|
});
|
|
|
- self.swiper.index = parseInt(t.index);
|
|
|
+ self.swiper.index = t.index ? parseInt(t.index) : 0;
|
|
|
self.record();
|
|
|
if (t && t['func']) {
|
|
|
self.drawer.item = t['func'];
|