mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-07 20:40:48 +08:00
fix: 全局格式化
This commit is contained in:
@@ -43,7 +43,7 @@ export const toast = {
|
||||
console.warn('Toast not available:', error)
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
// 导出 useToast composable
|
||||
@@ -59,16 +59,16 @@ export const useToast = () => {
|
||||
success: () => {},
|
||||
error: () => {},
|
||||
warning: () => {},
|
||||
info: () => {}
|
||||
info: () => {},
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
return Promise.resolve({
|
||||
success: () => {},
|
||||
error: () => {},
|
||||
warning: () => {},
|
||||
info: () => {}
|
||||
info: () => {},
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user