component-shipinlv 0.1.21 → 0.1.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Login/index.js +1 -1
- package/dist/lib/Tool.d.ts +1 -1
- package/dist/lib/Tool.js +1 -1
- package/dist/lib/goAuth.js +1 -1
- package/dist/lib/postMessage.d.ts +1 -1
- package/package.json +1 -1
package/dist/Login/index.js
CHANGED
package/dist/lib/Tool.d.ts
CHANGED
@@ -163,7 +163,7 @@ declare const Tool: {
|
|
163
163
|
setTimeOffset(serverTime: number): void;
|
164
164
|
getTime(): number;
|
165
165
|
h5Pay(query: Pay.H5PayQuery): void;
|
166
|
-
notification(type: "
|
166
|
+
notification(type: "info" | "error" | "success" | "warning", message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
167
167
|
notificationSuccess(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
168
168
|
notificationError(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
169
169
|
notificationWarning(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
package/dist/lib/Tool.js
CHANGED
@@ -1053,7 +1053,7 @@ var Tool = _objectSpread(_objectSpread({
|
|
1053
1053
|
});
|
1054
1054
|
},
|
1055
1055
|
onLogin: function onLogin() {
|
1056
|
-
return PostMessage('login');
|
1056
|
+
return PostMessage('need-login');
|
1057
1057
|
},
|
1058
1058
|
getObjectURL: function getObjectURL(file) {
|
1059
1059
|
var _window5, _window6;
|
package/dist/lib/goAuth.js
CHANGED
@@ -2,7 +2,7 @@ import PostMessage from "./postMessage";
|
|
2
2
|
export default function goAuth() {
|
3
3
|
var authType = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
4
4
|
// Tool.go(`${ authType }/auth`);
|
5
|
-
return PostMessage('login');
|
5
|
+
return PostMessage('need-login');
|
6
6
|
// return;
|
7
7
|
// if( window._openAuth_ ){
|
8
8
|
// return Promise.reject( false );
|