|
@@ -322,9 +322,8 @@ var vPage = new Vue({
|
|
|
res.data.exp_list = []
|
|
|
}
|
|
|
_this.pageInfo = res.data
|
|
|
- _this.$swiper.update()
|
|
|
_this.$nextTick(function () {
|
|
|
- _this.$swiper.update()
|
|
|
+ initSwiper.bind(_this)()
|
|
|
})
|
|
|
} else {
|
|
|
location.replace('/swordfish/about')
|
|
@@ -363,9 +362,8 @@ var vPage = new Vue({
|
|
|
res.data = pageInfo
|
|
|
if (res && res.error_msg === '' && res.data) {
|
|
|
_this.pageInfo = res.data
|
|
|
- _this.$swiper.update()
|
|
|
_this.$nextTick(function () {
|
|
|
- _this.$swiper.update()
|
|
|
+ initSwiper.bind(_this)()
|
|
|
})
|
|
|
}
|
|
|
}
|