提交 6604d7bf 编写于 作者: W wanganxp

补充版本注释

上级 3d7eb277
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
const intent = new Intent(Intent.ACTION_SEND) const intent = new Intent(Intent.ACTION_SEND)
intent.setType("image/*"); intent.setType("image/*");
let file = new File(res.tempFilePath) let file = new File(res.tempFilePath)
const uri = UTSAndroid.getFileProviderUri(file) const uri = UTSAndroid.getFileProviderUri(file) //3.99支持
intent.putExtra(Intent.EXTRA_STREAM, uri); intent.putExtra(Intent.EXTRA_STREAM, uri);
context.startActivity(Intent.createChooser(intent, "分享到")); context.startActivity(Intent.createChooser(intent, "分享到"));
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册