File tree Expand file tree Collapse file tree
apps/rgsm-gui/src/pages/Management Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ async function fetchCurrentDevice() {
111111fetchCurrentDevice ();
112112
113113const describe = ref (' ' );
114- let backup_button_time_limit = true ; // 两次备份时间间隔1秒
115114let backup_button_backup_limit = true ; // 上次没备份好禁止再备份或读取
116115let apply_button_apply_limit = true ; // 上次未恢复好禁止读取或备份
117116
@@ -487,10 +486,6 @@ ${items}`,
487486}
488487
489488async function send_save_to_background() {
490- if (! backup_button_time_limit ) {
491- notifyError ($t (' manage.save_too_fast_error' ));
492- return ;
493- }
494489 if (! backup_button_backup_limit ) {
495490 notifyError ($t (' manage.last_backup_unfinished_error' ));
496491 return ;
@@ -505,7 +500,6 @@ async function send_save_to_background() {
505500 return ;
506501 }
507502
508- backup_button_time_limit = false ;
509503 backup_button_backup_limit = false ;
510504
511505 const activityId = addActivity ({
@@ -537,9 +531,6 @@ async function send_save_to_background() {
537531 refresh_backups_info ();
538532
539533 describe .value = ' ' ;
540- setTimeout (() => {
541- backup_button_time_limit = true ;
542- }, 1000 );
543534}
544535
545536async function create_new_save() {
You can’t perform that action at this time.
0 commit comments