diff --git a/src/views/Survey/views/Publish/Index.vue b/src/views/Survey/views/Publish/Index.vue index 0a4914c..677dab1 100644 --- a/src/views/Survey/views/Publish/Index.vue +++ b/src/views/Survey/views/Publish/Index.vue @@ -115,7 +115,7 @@ function copyLink() { input.select(); document.execCommand('Copy'); document.body.removeChild(input); - showToast('复制成功'); + showToast('链接复制成功'); } // 分享链接 function shareLink() { @@ -140,9 +140,9 @@ function shareLink() { // 下载二维码 function downLoadImg() { const { title, url } = publishInfo.value.download_url; - if (utils.getSessionStorage('xToken')) { + if (appBridge.isInReactNative()) { appBridge.save2Album(url, () => { - showToast('二维码已成功保存到相册'); + showToast('二维码下载成功,请打系统相册查看'); }); } else { const link = document.createElement('a');