component-shipinlv 1.1.21 → 1.1.22
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,8 @@ var VideoPublishAccountManageHomePage = function VideoPublishAccountManageHomePa
|
|
34
34
|
favoritedCount: 0,
|
35
35
|
videoCount: 0,
|
36
36
|
created: 0,
|
37
|
-
updated: 0
|
37
|
+
updated: 0,
|
38
|
+
proxyInfo: {}
|
38
39
|
}),
|
39
40
|
_useState2 = _slicedToArray(_useState, 2),
|
40
41
|
accountDetail = _useState2[0],
|
@@ -89,7 +90,7 @@ var VideoPublishAccountManageHomePage = function VideoPublishAccountManageHomePa
|
|
89
90
|
setOpenMenuItems = _useState4[1];
|
90
91
|
var onOpen = function onOpen(url) {
|
91
92
|
var _window$getBridge;
|
92
|
-
(_window$getBridge = window.getBridge()) === null || _window$getBridge === void 0 || _window$getBridge.openVideoAccountBrowser(accountDetail.platform, '', accountDetail.accountId, url);
|
93
|
+
(_window$getBridge = window.getBridge()) === null || _window$getBridge === void 0 || _window$getBridge.openVideoAccountBrowser(accountDetail.platform, '', accountDetail.accountId, url, accountDetail.proxyInfo);
|
93
94
|
Tool.toast('正在打开浏览器, 请稍等...', 8);
|
94
95
|
};
|
95
96
|
var onOpenMenuItems = function onOpenMenuItems(platform) {
|
package/dist/lib/Tool.d.ts
CHANGED
@@ -161,7 +161,7 @@ declare const Tool: {
|
|
161
161
|
OsPathSeparator(): string;
|
162
162
|
getTitleByPath(path: string): string;
|
163
163
|
h5Pay(query: Pay.H5PayQuery): void;
|
164
|
-
notification(type: "
|
164
|
+
notification(type: "success" | "info" | "warning" | "error", message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
165
165
|
notificationSuccess(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
166
166
|
notificationError(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
167
167
|
notificationWarning(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
package/dist/window.d.ts
CHANGED
@@ -19,7 +19,7 @@ declare interface Window{
|
|
19
19
|
getChromiumPath: () => string;
|
20
20
|
getClientUniqueKey: () => string;
|
21
21
|
|
22
|
-
openVideoAccountBrowser: ( platform: string, subPlatform: string, accountId: string, url: string ) => void;
|
22
|
+
openVideoAccountBrowser: ( platform: string, subPlatform: string, accountId: string, url: string , proxyInfo?: Global.ProxyInfo ) => void;
|
23
23
|
};
|
24
24
|
|
25
25
|
getClientIdentity: () => Promise<string>;
|