bkui-vue 2.0.1-beta.86 → 2.0.1-beta.87

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/lib/index.js CHANGED
@@ -4,5 +4,5 @@ export { default } from './preset';
4
4
  export * from './config-provider';
5
5
  export * from './directives';
6
6
  export * as plugins from './plugins';
7
- export const version = "2.0.1-beta.86";
7
+ export const version = "2.0.1-beta.87";
8
8
  window.__bkui_vue_version__ = version;
@@ -342,6 +342,9 @@ var PAGE_ITEMS_NUM = 5;
342
342
  (0,external_vue_namespaceObject.watch)(function () {
343
343
  return proxy.modelValue;
344
344
  }, function (modelValue) {
345
+ if (proxy.small) {
346
+ return;
347
+ }
345
348
  // nextTick延后执行,保证proxy.totalPageNum计算正确
346
349
  (0,external_vue_namespaceObject.nextTick)(function () {
347
350
  if (modelValue >= 1 && modelValue <= proxy.totalPageNum) {
@@ -360,6 +363,9 @@ var PAGE_ITEMS_NUM = 5;
360
363
  (0,external_vue_namespaceObject.watch)(function () {
361
364
  return proxy.totalPageNum;
362
365
  }, function (totalPageNum) {
366
+ if (proxy.small) {
367
+ return;
368
+ }
363
369
  if (localCurrent.value > totalPageNum) {
364
370
  localCurrent.value = totalPageNum;
365
371
  }
@@ -535,6 +541,9 @@ const popover_less_namespaceObject = popover_less_x({ });
535
541
  (0,external_vue_namespaceObject.watch)(function () {
536
542
  return proxy.modelValue;
537
543
  }, function (modelValue) {
544
+ if (!proxy.small) {
545
+ return;
546
+ }
538
547
  // nextTick延后执行,保证proxy.totalPageNum计算正确
539
548
  (0,external_vue_namespaceObject.nextTick)(function () {
540
549
  if (modelValue >= 1 && modelValue <= proxy.totalPageNum) {
@@ -554,6 +563,9 @@ const popover_less_namespaceObject = popover_less_x({ });
554
563
  (0,external_vue_namespaceObject.watch)(function () {
555
564
  return proxy.totalPageNum;
556
565
  }, function (totalPageNum) {
566
+ if (!proxy.small) {
567
+ return;
568
+ }
557
569
  if (localCurrent.value > totalPageNum) {
558
570
  localCurrent.value = totalPageNum;
559
571
  }
@@ -848,6 +860,9 @@ var paginationProps = {
848
860
  immediate: true
849
861
  });
850
862
  (0,external_vue_namespaceObject.watch)(listCurrent, function (listCurrent) {
863
+ if (props.small) {
864
+ return;
865
+ }
851
866
  context.emit('update:modelValue', listCurrent);
852
867
  context.emit('change', listCurrent);
853
868
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.1-beta.86",
3
+ "version": "2.0.1-beta.87",
4
4
  "workspaces": [
5
5
  "packages/**",
6
6
  "scripts/cli",