1、vue报错this command with --force or --legacy-peer-deps
npm install --force --registry=https://registry.npmmirror.com
2、This dependency was not found:
代码中使用到没有定义的js 删除即可 例如
To install it, you can run: npm install --save @/api/enterprise.js
找到使用他的地方代码删除
3、vue使用v-for 时 @click失效解决
<el-row v-for="(item, index) in selectedSceneList" :key="index"
@click.native="getGeneralizeParamAndFile(item.sceneId)">{{item.sceneName}}</el-row>
添加'.native'