04-23-2024, 08:55 AM
https://www.libreautomate.com/forum/show...1#pid37571
If it could be condensed into one line of code, it would seem more convenient
dialog.options.timeoutTextFormat = "倒计时 {0} 秒后对话框将关闭";
dialog.show(r, secondsTimeout: 6);
TO:
dialog.show(r, secondsTimeout: 6, timeoutText: "倒计时 {0} 秒后对话框将关闭");
If it could be condensed into one line of code, it would seem more convenient
dialog.options.timeoutTextFormat = "倒计时 {0} 秒后对话框将关闭";
dialog.show(r, secondsTimeout: 6);
TO:
dialog.show(r, secondsTimeout: 6, timeoutText: "倒计时 {0} 秒后对话框将关闭");