bk-magic-vue 2.5.8-beta.8 → 2.5.8-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bk-magic-vue.js +3 -7
- package/dist/bk-magic-vue.min.js +1 -1
- package/dist/bk-magic-vue.min.js.gz +0 -0
- package/dist/bk-magic-vue.min.js.map +1 -1
- package/lib/pagination.js +8561 -8565
- package/lib/table.js +3 -7
- package/package.json +1 -1
package/dist/bk-magic-vue.js
CHANGED
|
@@ -35072,11 +35072,7 @@
|
|
|
35072
35072
|
current: {
|
|
35073
35073
|
type: Number,
|
|
35074
35074
|
default: 1,
|
|
35075
|
-
required: true
|
|
35076
|
-
validator: function validator(val) {
|
|
35077
|
-
var positiveInteger = /^[1-9]+[0-9]*]*$/;
|
|
35078
|
-
return positiveInteger.test(val);
|
|
35079
|
-
}
|
|
35075
|
+
required: true
|
|
35080
35076
|
},
|
|
35081
35077
|
limit: {
|
|
35082
35078
|
type: Number,
|
|
@@ -35251,8 +35247,8 @@
|
|
|
35251
35247
|
handleJump: function handleJump() {
|
|
35252
35248
|
var _this = this;
|
|
35253
35249
|
this.$nextTick(function () {
|
|
35254
|
-
var pageNum =
|
|
35255
|
-
if (pageNum < 1) {
|
|
35250
|
+
var pageNum = _parseInt$2(_this.jumpPage, 10);
|
|
35251
|
+
if (isNaN(pageNum) || pageNum < 1) {
|
|
35256
35252
|
pageNum = 1;
|
|
35257
35253
|
}
|
|
35258
35254
|
if (pageNum > _this.total) {
|