后端运行scss样式用不上没效果有没有大佬帮忙看看这个报错
vscode吧
全部回复
仅看楼主
level 1
本潮吃货 楼主
error Compile error: Failed to compile, check the errors for troubleshooting.File: E:\下载\smartclass-frontend-main\src\views\chat\Dialog.vue?vue&type=style&index=0&id=227a8c55&lang=scss&scoped=true:1:1 × Module parse failed: ╰─▶ × JavaScript parsing error: Expression expected ╭─[2:0] 1 │ 2 │ .chat-panel { · ─ 3 │ background: #eff0f6; 4 │ height: calc(100vh); ╰──── help: File was processed with these loaders: * E:\下载\smartclass-frontend-main\node_modules\vue-loader\dist\index.js??ruleSet[0].use[0] You may need an additional loader to handle the result of these loaders. @ ./src/views/chat/Dialog.vue.scss?vue&type=style&index=0&id=227a8c55&lang=scss&scoped=true!=!../../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/views/chat/Dialog.vue?vue&type=style&index=0&id=227a8c55&lang=scss&scoped=true @ ./src/views/chat/Dialog.vue @ ./src/router/index.ts @ ./src/main.ts
2025年04月23日 23点04分 1
level 12
你这贴上来排版全乱了,还是截个长图吧
2025年04月24日 09点04分 2
level 12
用 Gemini 2.5 Flash (Experimental) + 编码助手Gem 进行还原和分析。
2025年04月24日 12点04分 3
1