show_notice 显示消息通知

show_notice(n_type string,message string,duration i64);

输入参数

  • n_type 消息级别类型: success, error,warning,info
  • message 需要显示的消息
  • duration 延时时间,单位毫秒

输出参数

例子

// 给当前实体,添加子级
show_notice("info","欢迎使用!"3000);
作者:力博特  创建时间:2025-11-26 19:12
最后编辑:力博特  更新时间:2026-01-13 17:31