Skip to content
Guava Docs
Main Navigation
Home
Examples
API
Build
Version
Frontend v0.3.6
Backend v0.0.1
FAQ
Appearance
Menu
Return to top
On this page
useNotify
useNotify 是基础工具函数,提供了基本的通知方法。
API
Notify Methods
方法名
说明
参数
示例
message
中间顶部消息
(msg, type)
message('消息提示');
alert
右侧侧边消息
(msg, type)
alert('消息提示');
confirm
确认消息
(msg)
confirm('确认消息').then(() => { // 确认回调 });