e2df096f33ef3483f7c3c20a42beeb1145763c7c
commit996ac13加了 import { useUserStore } from '@/store/modules/user' + const userStore = useUserStore(), 但: - 实际 userStore 在文件里完全没被引用 (roleSegment 直接走 route.path.split('/')) - import 路径错了: 真实路径是 @/store/user, 不是 @/store/modules/user (src/store/ 下只有 user.js, 没有 modules/ 子目录) 上次 commite68476e把 MeetingNew 挪到 views/meetings/ 后, Vite import-analysis 触发解析错误: '@/store/modules/user does the file exist?' 修法: 直接删 import + userStore 声明 (本来就没用). roleSegment/isAdmin 仍然从 route.path 算, 不依赖 store. 为什么996ac13时没暴露: - 用户没在那个 commit 后跑过 npm run dev -e68476e的 git mv 让 vite 重新分析 import, 才报出来
Description
No description provided
20 MiB
Languages
Java
43.8%
Vue
26.8%
HTML
26%
Python
1.3%
JavaScript
1.2%
Other
0.8%