Fix: DefaultCard addr

This commit is contained in:
Lazy 2024-01-13 18:11:30 +08:00
parent 06aaa6af16
commit 18241c136b
2 changed files with 2 additions and 3 deletions

View File

@ -87,7 +87,6 @@ declare module 'vue' {
MyselfInfoDialog: typeof import('./src/components/MyselfInfoDialog.vue')['default']
NewCardList: typeof import('./src/components/NewCardList/index.vue')['default']
NodeSimpleChart: typeof import('./src/components/NodeSimpleChart.vue')['default']
NoPreview: typeof import('./src/components/NoPreview.vue')['default']
NoPreviewCard: typeof import('./src/components/NoPreviewCard.vue')['default']
Params: typeof import('./src/components/NewCardList/params.vue')['default']
PlaceHolderCard: typeof import('./src/components/PlaceHolderCard.vue')['default']

View File

@ -6,8 +6,8 @@ import type { LayoutCard } from "@/types";
defineProps<{
card: LayoutCard;
}>();
const { state, isAdmin } = useAppStateStore();
const myAddr = `${window.location.href}`;
const { isAdmin } = useAppStateStore();
const myAddr = `${window.location.origin}`;
</script>
<template>