mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
支持上传脚本
This commit is contained in:
@@ -39,8 +39,7 @@ class _InTimeLogPageState extends State<InTimeLogPage>
|
||||
if (!canRequest) return;
|
||||
if (isRequest) return;
|
||||
isRequest = true;
|
||||
HttpResponse<String> response =
|
||||
await Api.inTimeLog(widget.cronId);
|
||||
HttpResponse<String> response = await Api.inTimeLog(widget.cronId);
|
||||
if (response.success) {
|
||||
content = response.bean;
|
||||
setState(() {});
|
||||
@@ -161,7 +160,7 @@ class _InTimeLogPageState extends State<InTimeLogPage>
|
||||
if (widget.needTimer) {
|
||||
_timer = Timer.periodic(
|
||||
const Duration(seconds: 2),
|
||||
(timer) {
|
||||
(timer) {
|
||||
getLogData();
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user