💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
# $toast(提示框) 相关代码如下: ``` //提示框 function $toast(txt,duration,location) { if (!is_define(txt)) { txt='Loading...'; } if (!is_define(duration)) { duration=toast_time; } if (!is_define(location)) { location='middle'; } api.toast({ msg : txt, duration : duration, location : location }); } ``` 相关示例: 相关图片: