-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
手机端,无法使用,我所测试的有小米,iPhone10 #77
Comments
一样 |
+1,华为,ios,都不行 |
开发者也不看那.... |
It works on my iPhone 8 (with iOS 13.1.3 and Safari). Please notice that samples use Cloudflare CDN to load Vue.js and it might be blocked by GFW. I can't help without error message from developer console. |
|
Maybe it dosen't match the new version of android or IOS. So i use https://clipboardjs.com/ 也许与Android或IOS的新版本不匹配。所以我用 https://clipboardjs.com/ |
同样的状况 PC端复制正常 所有移动端都会直接进入错误分支 看来是通病了 |
同样的问题 我采用了这种方式, 来解决问题: this.$copyText(pendingCopyValue).then((suc) => {
console.log('复制成功!');
}, (err) => {
if(err && typeof err === 'object' && err.hasOwnProperty('action') && err.hasOwnProperty('text')) {
console.log('复制成功!');
} else {
console.log('复制失败, 请稍后重试!');
}
}); |
但是实际上是复制失败的,黏贴版上并没有文字 |
|
使用的是官网例子Sample 2
The text was updated successfully, but these errors were encountered: