There are multiple modules with names that only differ in casing.This can lead to unexpected........
原因:文件名和引用不一致,一个大写字母,一个小写字母,举个例,文件名是App.js,但是你引用的时候是写的app.js
…’@/api/oa/workingHours/aWorkinghoursAllowed/index’; 我把文件名aWorkinghoursallowed写成了aWorkinghoursAllowed,所以才导致出现上面的警告
52:12-24 Critical dependency: the request of a dependency is an expression
原因:不能在main.js文件中直接定义方法并挂实