解决方法: 在运行ionic的时候 在后面加入 --prod --release 参考文章: 链接:https://blog.youkuaiyun.com/u010564430/article/details/61201769