@yqg/max-layout-plugin
Advanced tools
+5
-0
@@ -407,2 +407,6 @@ "use strict"; | ||
| const logout = async () => { | ||
| if (LayoutConfig?.fn?.onLogoutAsync && typeof LayoutConfig.fn.onLogoutAsync === 'function') { | ||
| LayoutConfig.fn.onLogoutAsync({user: user.value}); | ||
| } | ||
| await User.logout(); | ||
@@ -500,2 +504,3 @@ user.value = null; | ||
| routerGuard?: (params: {router: any, localStorage: any, route: any}) => void, | ||
| onLogoutAsync?: (params: {user: any}) => Promise<any>, | ||
| [key: string]: any | ||
@@ -502,0 +507,0 @@ } |
+2
-2
| { | ||
| "name": "@yqg/max-layout-plugin", | ||
| "version": "1.1.16", | ||
| "version": "1.1.17", | ||
| "description": "", | ||
@@ -17,3 +17,3 @@ "keywords": [], | ||
| "devDependencies": { | ||
| "@yqg/max": "1.2.21" | ||
| "@yqg/max": "1.2.24" | ||
| }, | ||
@@ -20,0 +20,0 @@ "scripts": { |
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.
22288
1.02%478
0.84%