檢查下自己的vue版本,如果是高於2.5的寫法改一下
./images/stars/star48_off
改成
~@/components/Star/images/stars/star48_off
或者去修改vue的配置文件修改@的指向
vue Can't resolve