@ccs-ui/rc-pro 2.3.6-alpha-23 → 2.3.6-alpha-24

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.
@@ -16,7 +16,7 @@ export type DialogButtonsProps<T> = Pick<CcsDialogModalProps, 'okText' | 'onClos
16
16
  export type DialogButtonRef = {
17
17
  onSetButtons: (e: React.ReactElement) => void;
18
18
  };
19
- export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<CcsDialogModalProps<TParams, TData>, "auth" | "request" | "onClose" | "onOk" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
19
+ export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<CcsDialogModalProps<TParams, TData>, "auth" | "request" | "onOk" | "onClose" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
20
20
  formRef: React.RefObject<DialogFormRef<TParams>>;
21
21
  formInitialValues: FormProps['initialValues'];
22
22
  buttonRef: RefObject<DialogButtonRef>;
@@ -46,7 +46,6 @@ function SinglePage(_ref) {
46
46
  menu: menu
47
47
  };
48
48
  }, [pathname, menuItems]);
49
- console.log('page index ', menuInfo);
50
49
  return /*#__PURE__*/_jsx("div", {
51
50
  className: classnames(className, "ccs-single-page"),
52
51
  children: menuInfo !== null && menuInfo !== void 0 && menuInfo.auth ? /*#__PURE__*/_jsx(Page, {
@@ -13,7 +13,6 @@ export default /*#__PURE__*/memo(function (props) {
13
13
  _props$breadcrumb = props.breadcrumb,
14
14
  breadcrumb = _props$breadcrumb === void 0 ? [] : _props$breadcrumb;
15
15
  var dialogHolderRef = useRef(null);
16
- console.log('page urlAuthList', urlAuthList);
17
16
  return /*#__PURE__*/_jsx(PageContext.Provider, {
18
17
  value: {
19
18
  id: '',
@@ -164,7 +164,7 @@ var InternalProTable = function InternalProTable(props) {
164
164
  var isAuth = useMemo(function () {
165
165
  if (auth) return onAuth && onAuth(auth);
166
166
  return true;
167
- }, []);
167
+ }, [auth]);
168
168
  var formatFormItems = useMemo(function () {
169
169
  return formItems.flat(Infinity).filter(function (f) {
170
170
  return f.onFormat;
@@ -535,7 +535,8 @@ var InternalProTable = function InternalProTable(props) {
535
535
  style: {
536
536
  margin: 0,
537
537
  padding: '32px 0',
538
- color: 'red'
538
+ color: 'red',
539
+ background: '#fff'
539
540
  },
540
541
  image: Empty.PRESENTED_IMAGE_DEFAULT,
541
542
  description: "\u6CA1\u6709\u6570\u636E\u8BF7\u6C42\u6743\u9650"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "2.3.6-alpha-23",
3
+ "version": "2.3.6-alpha-24",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": {