Use new window to open link

This commit is contained in:
MengYX
2019-11-10 01:30:11 +08:00
parent d99cd23e0c
commit 04be04204a
2 changed files with 5 additions and 7 deletions

View File

@ -111,7 +111,7 @@
document.getElementById("loader-mask").remove();
this.$notify.info({
title: '离线使用',
message: '我们使用PWA技术添加到桌面或收藏夹无网络也能使用。点击查看<a href="https://github.com/ix64/unlock-music/wiki/使用提示">使用提示</a>',
message: '我们使用PWA技术添加到桌面或收藏夹无网络也能使用。点击查看<a target="_blank" href="https://github.com/ix64/unlock-music/wiki/使用提示">使用提示</a>',
dangerouslyUseHTMLString: true,
duration: 30000,
position: 'top-left'
@ -156,7 +156,7 @@
} else {
this.$notify.error({
title: '错误',
message: '解析此文件时出现问题,请查看<a href="https://github.com/ix64/unlock-music/wiki/使用提示">使用提示</a>',
message: '解析此文件时出现问题,请查看<a target="_blank" href="https://github.com/ix64/unlock-music/wiki/使用提示">使用提示</a>',
dangerouslyUseHTMLString: true
});
window._paq.push(["trackEvent", "Unlock", "Error", file.name]);