mirror of
https://github.com/certd/certd.git
synced 2026-07-05 03:17:32 +08:00
refactor: export
This commit is contained in:
@@ -55,10 +55,8 @@ export function errorLog (error) {
|
||||
// 打印到控制台
|
||||
console.log(error)
|
||||
// 显示提示
|
||||
notification({
|
||||
message: error.message,
|
||||
type: 'error',
|
||||
duration: 5 * 1000
|
||||
notification.error({
|
||||
message: error.message
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user