fix: 统一使用绝对路径别名“~”并加入jsconfig方便编辑器跳转

Fixes #510
This commit is contained in:
AnNingUI
2025-08-12 14:45:55 +08:00
parent 8b12402e89
commit 80ecb1620d
27 changed files with 153 additions and 134 deletions

View File

@@ -47,10 +47,10 @@
</template>
<script>
import { ref, computed, watch, onMounted } from 'vue'
import { API_BASE_URL, toast } from '../main'
import { getToken, authState } from '../utils/auth'
import { reactionEmojiMap } from '../utils/reactions'
import { computed, onMounted, ref, watch } from 'vue'
import { API_BASE_URL, toast } from '~/main'
import { authState, getToken } from '~/utils/auth'
import { reactionEmojiMap } from '~/utils/reactions'
let cachedTypes = null
const fetchTypes = async () => {