提交 29620a63 编写于 作者: D dolymood

build: package

上级 aabbb436
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -7145,7 +7145,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
watch: {
initialIndex: function initialIndex(newIndex) {
if (newIndex !== this.currentPageIndex) {
this.slide && this.slide.goToPage(newIndex);
this._goToPage(newIndex);
}
}
},
......@@ -7224,7 +7224,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.slide.on('scrollEnd', this._onScrollEnd);
this.slide.goToPage(this.currentPageIndex, 0, 0);
this._goToPage(this.currentPageIndex, 0);
if (this.options.listenScroll && this.options.probeType === 3) {
this.slide.on('scroll', this._onScroll);
......@@ -7301,6 +7301,13 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
}
_this4._refresh();
}, 60);
},
_goToPage: function _goToPage(index, time) {
if (this.direction === DIRECTION_H) {
this.slide && this.slide.goToPage(index, 0, time);
} else if (this.direction === DIRECTION_V) {
this.slide && this.slide.goToPage(0, index, time);
}
}
},
mounted: function mounted() {
......
......@@ -6869,7 +6869,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
}
var Cube = {
version: "1.12.8",
version: "1.12.9",
install: install,
BScroll: _module.BetterScroll,
createAPI: _module.createAPI
......@@ -19944,7 +19944,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
watch: {
initialIndex: function initialIndex(newIndex) {
if (newIndex !== this.currentPageIndex) {
this.slide && this.slide.goToPage(newIndex);
this._goToPage(newIndex);
}
}
},
......@@ -20023,7 +20023,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.slide.on('scrollEnd', this._onScrollEnd);
this.slide.goToPage(this.currentPageIndex, 0, 0);
this._goToPage(this.currentPageIndex, 0);
if (this.options.listenScroll && this.options.probeType === 3) {
this.slide.on('scroll', this._onScroll);
......@@ -20100,6 +20100,13 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
}
_this4._refresh();
}, 60);
},
_goToPage: function _goToPage(index, time) {
if (this.direction === DIRECTION_H) {
this.slide && this.slide.goToPage(index, 0, time);
} else if (this.direction === DIRECTION_V) {
this.slide && this.slide.goToPage(0, index, time);
}
}
},
mounted: function mounted() {
......
......@@ -813,7 +813,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
watch: {
initialIndex: function initialIndex(newIndex) {
if (newIndex !== this.currentPageIndex) {
this.slide && this.slide.goToPage(newIndex);
this._goToPage(newIndex);
}
}
},
......@@ -892,7 +892,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
this.slide.on('scrollEnd', this._onScrollEnd);
this.slide.goToPage(this.currentPageIndex, 0, 0);
this._goToPage(this.currentPageIndex, 0);
if (this.options.listenScroll && this.options.probeType === 3) {
this.slide.on('scroll', this._onScroll);
......@@ -969,6 +969,13 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
}
_this4._refresh();
}, 60);
},
_goToPage: function _goToPage(index, time) {
if (this.direction === DIRECTION_H) {
this.slide && this.slide.goToPage(index, 0, time);
} else if (this.direction === DIRECTION_V) {
this.slide && this.slide.goToPage(0, index, time);
}
}
},
mounted: function mounted() {
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册