网站关闭时,禁用预览地址的打开
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user