feat: 菜单权限获取方式调整、前端代码优化、数据库新增数据方式调整

This commit is contained in:
meilin.huang
2023-04-13 20:11:22 +08:00
parent 8e64ba67fa
commit 1d858118d5
22 changed files with 329 additions and 233 deletions

View File

@@ -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
}