dever 6 năm trước cách đây
mục cha
commit
46b9de94a5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main/src/Preview.php

+ 1 - 1
main/src/Preview.php

@@ -54,7 +54,7 @@ class Preview
 
         if ($type == 1 || $type == 2 || $type == 3 || $type == 6) {
             $link = Dever::url('view.get?type=' . $type . '&id=' . $id, 'h5');
-            $table['h5页面'] = '<a href="'.$link.'" target="_blank">复制链接</a>';
+            $table['h5页面'] = '<a class="clipboard" href="javascript:;" data-clipboard-text="'.$link.'">复制链接</a>';
         }