riskmonitoring专题

[vite] Internal server error: Failed to resolve import “@api/disaster/riskMonitoring“ from “src\serv

[vite] Internal server error: Failed to resolve import “@api/disaster/riskMonitoring” from “src\service\index.ts”. Does the file exist? 问题描述:在引入方法时报错 原因:在vite.config.ts中没有定义@api 解决方法 找对正确的位置 (备