@yqg/max-layout-plugin
Advanced tools
+3
-3
@@ -407,4 +407,4 @@ "use strict"; | ||
| const logout = async () => { | ||
| if (LayoutConfig?.fn?.onLogoutAsync && typeof LayoutConfig.fn.onLogoutAsync === 'function') { | ||
| LayoutConfig.fn.onLogoutAsync({user: user.value}); | ||
| if (LayoutConfig?.fn?.onLogoutSync && typeof LayoutConfig.fn.onLogoutSync === 'function') { | ||
| await LayoutConfig.fn.onLogoutSync({user: user.value}); | ||
| } | ||
@@ -504,3 +504,3 @@ | ||
| routerGuard?: (params: {router: any, localStorage: any, route: any}) => void, | ||
| onLogoutAsync?: (params: {user: any}) => Promise<any>, | ||
| onLogoutSync?: (params: {user: any}) => Promise<any>, | ||
| [key: string]: any | ||
@@ -507,0 +507,0 @@ } |
+1
-1
| { | ||
| "name": "@yqg/max-layout-plugin", | ||
| "version": "1.1.17", | ||
| "version": "1.1.18", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
22290
0.01%