mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
feat: 权限控制
This commit is contained in:
@@ -63,5 +63,7 @@ export function errorLog(error: any) {
|
||||
* @param {String} msg 错误信息
|
||||
*/
|
||||
export function errorCreate(msg: string) {
|
||||
throw new Error(msg);
|
||||
const err = new Error(msg);
|
||||
uiContext.get().notification.error({ message: err.message });
|
||||
throw err;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user