
错误
肖ZE
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
vue 错误整理
Duplicate keys detected: '0'. This may cause an update error 原因:dom 父节点下 同一级 的两个循环 <div> <div class="item1" v-for="(item,i) in list1" :key="i">{{item}}</div> <div class="i...原创 2019-12-25 15:36:50 · 241 阅读 · 0 评论 -
vue-router——message: "Navigating to current location (XXX) is not allowed"
解决方法: 法一:重写规则 import VueRouter from "vue-router"; const [routerPush, routerReplace] = [VueRouter.prototype.push, VueRouter.prototype.replace]; VueRouter.prototype.push = function push(location) { ...原创 2019-11-12 16:02:02 · 2101 阅读 · 0 评论 -
react yarn 安装 node-sass 过慢或报编译错误
第一步:配置淘宝镜像 yarn config set registry https://registry.npm.taobao.org -g 第二步:配置下 node-sass 的二进制包镜像地址 yarn config set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass -g ...原创 2019-10-16 11:39:29 · 530 阅读 · 0 评论 -
axios 的报错
解决方法: import axios from 'axios' // 在这里不能使用 Vue.use(axios) // Vue.use(axios) Vue.prototype.$http = axios 而对于 vue-resource: import VueResource from 'vue-resource'; Vue.use(VueResource); ...原创 2018-11-26 19:09:01 · 7016 阅读 · 0 评论 -
[Vuetify] Multiple instances of Vue detected
这个错误是因为多次引入 vue 实例了 将 // 引入 vue 完整框架 import Vue from '../node_modules/vue/dist/vue.js'; 换为 // 引入 vue 完整框架 import Vue from 'vue'; 即可原创 2018-11-21 21:16:12 · 1826 阅读 · 1 评论 -
git 报错
错误原因:github 中的 README.md 文件不在本地代码目录中 执行命令:git pull --rebase origin master(代码合并) 本地代码库中多了README.md文件 再执行命令 git push -u origin master 即可完成代码上传到github ...原创 2018-11-11 15:45:22 · 331 阅读 · 0 评论 -
常见报错整理
1.端口被占用:Error:listen EADDRINUSE 127.0.0.1:300原创 2018-10-29 17:09:05 · 421 阅读 · 0 评论 -
phpstorm 报错 Access denied for user 'root'@'localhost' (using password: YES) 解决方法
打开my.ini文件,在文件的最后添加一行 skip-grant-tables ,保存文件,再重启MySQL服务 在 cmd 中进入MySQL的bin目录 C:\Users\Administrator>d: D:\>cd D:\wamp64\bin\mysql\mysql5.7.14\bin D:\wamp64\bin\mysql\mysql5.7.14\bin> 输入m...原创 2018-10-04 13:42:09 · 1225 阅读 · 0 评论