改绝对路径为相对路径。json
https://segmentfault.com/q/1010000009672497直接在package.json里加 "homepage":"." 就OK了,会在路径前加homepage的值segmentfault
"homepage":"."