网站关闭时,禁用预览地址的打开

This commit is contained in:
2025-01-08 10:37:59 +08:00
parent 026e45e9c1
commit 714eff50b2
6 changed files with 4518 additions and 4479 deletions
+5
View File
@@ -88,6 +88,11 @@ export function openSpmUrl(
const timestamp = ref(Date.now() / 1000);
token.value = `&token=${uuid()}`;
// 判断网站是否禁用
if (localStorage.getItem('WebsiteStatus')) {
return false;
}
// 判断模型
if (d?.goodsId) {
model.value = 'g';