✏️ 修复 IDE import 报错

This commit is contained in:
目棃
2024-06-26 22:03:22 +08:00
parent 7ea47b4606
commit 8a4edd29f5
77 changed files with 316 additions and 284 deletions

View File

@@ -50,7 +50,7 @@
<script lang="ts" setup>
import { computed, onBeforeMount, ref } from "vue";
import { createPost } from "../../utils/TGWindow";
import { createPost } from "../../utils/TGWindow.js";
import TpAvatar from "../post/tp-avatar.vue";
interface TPostCardProps {

View File

@@ -7,8 +7,8 @@
</template>
<script lang="ts" setup>
// utils
import TGLogger from "../../utils/TGLogger";
import { generateShareImg } from "../../utils/TGShare";
import TGLogger from "../../utils/TGLogger.js";
import { generateShareImg } from "../../utils/TGShare.js";
interface TShareBtnProps {
modelValue: HTMLElement;