当你的代码换电脑跑时,可能会由于版本问题出现问题
yarn add axios
yarn add vuex@3.6.2
下载会下载最新版本vuex 最新版本4.0.3
原因:版本问题
解决方法:重新安装vuex@3
npm install vuex@3.6.2(版本号)
empty line after import statement not followed by another import. (import/newline-after-import)
empty line after import statement not followed by another import. (import/newline-after-import)
import语句后的空行后面没有另一个import。(导入/导入后换行)
回车换行一下就解决了
————————————————