mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-30 04:50:26 +08:00
feat: 菜单权限获取方式调整、前端代码优化、数据库新增数据方式调整
This commit is contained in:
@@ -9,7 +9,7 @@ export async function getRsaPublicKey() {
|
||||
if (publicKey) {
|
||||
return publicKey
|
||||
}
|
||||
publicKey = await openApi.getPublicKey() as string
|
||||
publicKey = await openApi.getPublicKey.request() as string
|
||||
sessionStorage.setItem('RsaPublicKey', publicKey)
|
||||
return publicKey
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user