mirror of
https://github.com/hi2shark/nazhua.git
synced 2026-01-12 15:20:43 +08:00
✨ 解码购买链接以确保正确打开,支持在新标签页中打开
This commit is contained in:
parent
a87343930a
commit
d5d82f9d63
@ -197,7 +197,8 @@ const buyBtnText = config.nazhua.buyBtnText || '购买';
|
||||
const showBuyBtn = computed(() => !!props.info?.PublicNote?.customData?.orderLink);
|
||||
|
||||
function toBuy() {
|
||||
window.open(props.info?.PublicNote?.customData?.orderLink);
|
||||
const decodeUrl = decodeURIComponent(props.info?.PublicNote?.customData?.orderLink);
|
||||
window.open(decodeUrl, '_blank');
|
||||
}
|
||||
|
||||
const {
|
||||
|
||||
@ -88,7 +88,8 @@ const buyBtnText = config.nazhua.buyBtnText || '购买';
|
||||
const showBuyBtn = computed(() => !!props.info?.PublicNote?.customData?.orderLink);
|
||||
|
||||
function toBuy() {
|
||||
window.open(props.info?.PublicNote?.customData?.orderLink);
|
||||
const decodeUrl = decodeURIComponent(props.info?.PublicNote?.customData?.orderLink);
|
||||
window.open(decodeUrl, '_blank');
|
||||
}
|
||||
|
||||
const tagList = computed(() => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user