Skip to content

Commit 6ab7fe2

Browse files
authored
Update index.blade.php
在新的页面打开下载链接,在当前页面打开下载链接,chrome浏览器会出现卡顿的情况
1 parent 00de387 commit 6ab7fe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/index.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
<!-- Emphasis label -->
120120

121121
<div class="tools">
122-
<a href="{{ route('backup-download', ['disk' => $backup[1], 'file' => $backup[0].'/'.$file]) }}"><i class="fa fa-download"></i></a>
122+
<a target="_blank" href="{{ route('backup-download', ['disk' => $backup[1], 'file' => $backup[0].'/'.$file]) }}"><i class="fa fa-download"></i></a>
123123
<a href="{{ route('backup-delete', ['disk' => $backup[1], 'file' => $backup[0].'/'.$file]) }}" class="backup-delete"><i class="fa fa-trash-o"></i></a>
124124
</div>
125125
</li>
@@ -146,4 +146,4 @@
146146
<pre class="output-body"></pre>
147147
</div>
148148
<!-- /.box-body -->
149-
</div>
149+
</div>

0 commit comments

Comments
 (0)