@@ -319,6 +319,11 @@ function doConnectDirectives() {
return;
}
+
+ if (result.type === 'reProduceText') {
+ // 接收到云机剪贴板复制事件
+ window.copyToClipboard(result.data.text);
+ }
};
$('body').on('click', function () {
@@ -46,6 +46,7 @@
<script src="../static/lib/swiper/swiper-bundle.js"></script> -->
<script src="../static/lib/doT-1.1.3/doT.min.js"></script>
<script src="../static/lib/qs.js"></script>
+ <script src="../static/lib/copy-to-clipboard.js"></script>
</head>
<body class="scroll h-player" style="overscroll-behavior: contain">
@@ -327,6 +327,11 @@ function doConnectDirectives() {
@@ -47,6 +47,7 @@