Browse Source

fix(frontend): 修正 growth/profile/index.vue 悬空 import 路径

- config: '../../config' -> '@/config.js'(config 实为根目录 config.js,非 pages/config)
- format.js: '../../utils/format.js' -> '@/utils/format.js'(该页在 pages/growth/profile/ 深 3 层,原路径少一级 ../)
- 验证:全项目 387 文件/660 条本地 import 悬空 0;348 个 .vue 结构扫描 0 问题

Co-Authored-By: Sisyphus (Anthropic) <noreply@anthropic.com>
liaoxg 1 day ago
parent
commit
87119319d2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cfc-frontend/pages/growth/profile/index.vue

+ 2 - 2
cfc-frontend/pages/growth/profile/index.vue

@@ -200,8 +200,8 @@
 </template>
 
 <script>
-import config from '../../config'
-import { parseDate } from '../../utils/format.js'
+import config from '@/config.js'
+import { parseDate } from '@/utils/format.js'
 
 export default {
   data() {