在写项目的时候webStorm报了一个小错误,提示 statement expected image.png , 在VScode 上面没事 ,原来这是因为当前的js编译工具太旧,换个新的就好。具体做法: file---setting image.png