bkui-vue 2.0.1-beta.71 → 2.0.1-beta.72

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.71";
7
+ export const version = "2.0.1-beta.72";
8
8
  window.__bkui_vue_version__ = version;
@@ -17917,7 +17917,7 @@ var tableProps = {
17917
17917
  /**
17918
17918
  * 启用Scrollbar
17919
17919
  */
17920
- scrollbar: shared_namespaceObject.PropTypes.bool.def(true),
17920
+ scrollbar: shared_namespaceObject.PropTypes.bool.def(false),
17921
17921
  // scrollbehavior: toType<`${ScrollBehavior}`>('ScrollBehavior', {
17922
17922
  /**
17923
17923
  * 固定在底部的配置项
@@ -24665,7 +24665,7 @@ var useSettings = function useSettings(props, ctx, columns, afterSetting) {
24665
24665
  use_observer_resize(refRoot, function () {
24666
24666
  if (!observerResizing.value) {
24667
24667
  observerResizing.value = true;
24668
- if ((props.height === '100%' || props.virtualEnabled) && (0,lodash.isElement)(refRoot.value)) {
24668
+ if (props.virtualEnabled && (0,lodash.isElement)(refRoot.value)) {
24669
24669
  if (isResizeBodyHeight.value) {
24670
24670
  setTimeout(function () {
24671
24671
  isResizeBodyHeight.value = false;
@@ -24688,7 +24688,7 @@ var useSettings = function useSettings(props, ctx, columns, afterSetting) {
24688
24688
  });
24689
24689
  });
24690
24690
  var setRowsBodyHeight = function setRowsBodyHeight() {
24691
- if (props.virtualEnabled && (props.height === '100%' || props.height === 'auto')) {
24691
+ if (props.virtualEnabled) {
24692
24692
  var rowsHeight = rows.getCurrentPageRowsHeight();
24693
24693
  var bodyHeight = rowsHeight;
24694
24694
  if (/^\d+\.?\d*(px)?$/.test("".concat(props.maxHeight))) {
@@ -1252,7 +1252,6 @@
1252
1252
  .bk-table .bk-table-body {
1253
1253
  position: relative;
1254
1254
  overflow: auto;
1255
- flex: 1;
1256
1255
  }
1257
1256
  .bk-table .bk-table-body::-webkit-scrollbar {
1258
1257
  width: 8px;
@@ -23,7 +23,6 @@
23
23
  .@{bk-prefix}-table-body {
24
24
  position: relative;
25
25
  overflow: auto;
26
- flex: 1;
27
26
 
28
27
  &::-webkit-scrollbar {
29
28
  width: 8px;
@@ -1642,7 +1642,6 @@
1642
1642
  .bk-table .bk-table-body {
1643
1643
  position: relative;
1644
1644
  overflow: auto;
1645
- flex: 1;
1646
1645
  }
1647
1646
  .bk-table .bk-table-body::-webkit-scrollbar {
1648
1647
  width: 8px;
@@ -17892,7 +17892,7 @@ var tableProps = {
17892
17892
  /**
17893
17893
  * 启用Scrollbar
17894
17894
  */
17895
- scrollbar: shared_namespaceObject.PropTypes.bool.def(true),
17895
+ scrollbar: shared_namespaceObject.PropTypes.bool.def(false),
17896
17896
  // scrollbehavior: toType<`${ScrollBehavior}`>('ScrollBehavior', {
17897
17897
  /**
17898
17898
  * 固定在底部的配置项
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "2.0.1-beta.71",
3
+ "version": "2.0.1-beta.72",
4
4
  "workspaces": [
5
5
  "packages/**",
6
6
  "scripts/cli",