@ccs-ui/rc-pro 1.1.25-beta-7 → 1.1.25-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/es/auth/index.js CHANGED
@@ -148,6 +148,9 @@ function AuthGroup(_ref4) {
148
148
  disabled = _ref8.disabled,
149
149
  onDisabled = _ref8.onDisabled,
150
150
  restProps = _objectWithoutProperties(_ref8, _excluded2);
151
+ // 按钮禁用
152
+ var isDisabled = disabled || onDisabled && onDisabled(selectedRows);
153
+
151
154
  // 更多按钮
152
155
  if (index === showBtns.length - 1 && authButtons.length > 0) {
153
156
  return /*#__PURE__*/_jsxs(Space.Compact, {
@@ -156,6 +159,7 @@ function AuthGroup(_ref4) {
156
159
  onClick: function onClick() {
157
160
  return handleOnClick(key);
158
161
  },
162
+ disabled: isDisabled,
159
163
  children: label
160
164
  })), /*#__PURE__*/_jsx(Dropdown, {
161
165
  menu: {
@@ -171,9 +175,6 @@ function AuthGroup(_ref4) {
171
175
  })]
172
176
  }, key);
173
177
  }
174
-
175
- // 按钮禁用
176
- var isDisabled = disabled || onDisabled && onDisabled(selectedRows);
177
178
  return /*#__PURE__*/_jsx(Button, _objectSpread(_objectSpread({}, restProps), {}, {
178
179
  size: size,
179
180
  disabled: isDisabled,
@@ -3,7 +3,7 @@ export type CcsStatusTagProps = {
3
3
  options: {
4
4
  value: any;
5
5
  label: string;
6
- tag: string[];
6
+ tag?: string[];
7
7
  }[];
8
8
  };
9
9
  export default function CcsStatusTag({ value, options, }: CcsStatusTagProps): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.1.25-beta-7",
3
+ "version": "1.1.25-beta-9",
4
4
  "description": "验证码组件兼容暗黑模式;proTable封装rowselection代码;proTable添加传统布局模式;",
5
5
  "license": "MIT",
6
6
  "author": {