kmkf-work-order-service-component 0.4.2 → 0.4.3

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.
@@ -2,7 +2,7 @@
2
2
  export declare const COMMON_HOST = "https://kefu.kuaimai.com";
3
3
  export declare const HD_HOST = "https://kefuab.kuaimai.com";
4
4
  interface LoginProps {
5
- loginCallBack?: () => void;
5
+ loginCallBack?: (val: any) => void;
6
6
  }
7
7
  declare const ProviderLogin: (props: LoginProps) => JSX.Element;
8
8
  export default ProviderLogin;
@@ -191,7 +191,10 @@ var Login = function Login(props) {
191
191
  return dispatch(fetchShopList());
192
192
 
193
193
  case 9:
194
- loginCallBack === null || loginCallBack === void 0 ? void 0 : loginCallBack();
194
+ loginCallBack === null || loginCallBack === void 0 ? void 0 : loginCallBack({
195
+ isGray: isInHd,
196
+ data: data
197
+ });
195
198
 
196
199
  case 10:
197
200
  setLoading(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",