fix:调整提示语
This commit is contained in:
@@ -115,7 +115,7 @@ function copyLink() {
|
|||||||
input.select();
|
input.select();
|
||||||
document.execCommand('Copy');
|
document.execCommand('Copy');
|
||||||
document.body.removeChild(input);
|
document.body.removeChild(input);
|
||||||
showToast('复制成功');
|
showToast('链接复制成功');
|
||||||
}
|
}
|
||||||
// 分享链接
|
// 分享链接
|
||||||
function shareLink() {
|
function shareLink() {
|
||||||
@@ -140,9 +140,9 @@ function shareLink() {
|
|||||||
// 下载二维码
|
// 下载二维码
|
||||||
function downLoadImg() {
|
function downLoadImg() {
|
||||||
const { title, url } = publishInfo.value.download_url;
|
const { title, url } = publishInfo.value.download_url;
|
||||||
if (utils.getSessionStorage('xToken')) {
|
if (appBridge.isInReactNative()) {
|
||||||
appBridge.save2Album(url, () => {
|
appBridge.save2Album(url, () => {
|
||||||
showToast('二维码已成功保存到相册');
|
showToast('二维码下载成功,请打系统相册查看');
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
|
|||||||
Reference in New Issue
Block a user