kmkf-work-order-service-component 0.4.2 → 0.4.3-alpha.2
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;
|
package/dist/esm/Login/index.js
CHANGED
@@ -69,6 +69,7 @@ var Login = function Login(props) {
|
|
69
69
|
var dispatch = useAppDispatch();
|
70
70
|
useEffect(function () {
|
71
71
|
localStorage.removeItem('kmkf_kmgd_cookie');
|
72
|
+
cache.setHost(COMMON_HOST);
|
72
73
|
}, []);
|
73
74
|
|
74
75
|
var processHistoryPwd = function processHistoryPwd(params) {
|
@@ -191,7 +192,10 @@ var Login = function Login(props) {
|
|
191
192
|
return dispatch(fetchShopList());
|
192
193
|
|
193
194
|
case 9:
|
194
|
-
loginCallBack === null || loginCallBack === void 0 ? void 0 : loginCallBack(
|
195
|
+
loginCallBack === null || loginCallBack === void 0 ? void 0 : loginCallBack({
|
196
|
+
isGray: isInHd,
|
197
|
+
data: data
|
198
|
+
});
|
195
199
|
|
196
200
|
case 10:
|
197
201
|
setLoading(false);
|
@@ -134,7 +134,7 @@ var WorkOrder = function WorkOrder(props) {
|
|
134
134
|
id: "customize-work-order-component",
|
135
135
|
className: "order_container ".concat(platform === PlatForm.FXG ? '' : 'order_container_padding_bottom')
|
136
136
|
}, /*#__PURE__*/React.createElement("header", {
|
137
|
-
className: "
|
137
|
+
className: "order_header_new"
|
138
138
|
}, /*#__PURE__*/React.createElement("div", {
|
139
139
|
className: "order_header_tabs"
|
140
140
|
}, /*#__PURE__*/React.createElement("div", {
|