From 587267966578fb19076a4c6cc320d5a62b18f8ce Mon Sep 17 00:00:00 2001 From: zhaojs <349234519@qq.com> Date: 星期四, 13 七月 2023 14:41:44 +0800 Subject: [PATCH] no message --- public/html/compareprice.html | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/public/html/compareprice.html b/public/html/compareprice.html index ae8e2a7..31f16aa 100644 --- a/public/html/compareprice.html +++ b/public/html/compareprice.html @@ -389,11 +389,15 @@ this.txtareatxt=''; }, fromcopy:function() - { - alert(navigator.platform); - navigator.clipboard.readText().then(function(clipText){ + { + uni.postMessage({ + data: { + action: 'copy' + } + }) + /* navigator.clipboard.readText().then(function(clipText){ alert(clipText); - }) + }) */ }, getCmsUrl:function(){ var _this = this; -- Gitblit v1.9.3