refactor: export

This commit is contained in:
xiaojunnuo
2021-02-09 18:05:01 +08:00
parent a9b6e87249
commit c3e374e6e5
8 changed files with 52 additions and 23 deletions
+2 -4
View File
@@ -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
})
}