- 博客(23)
- 收藏
- 关注
原创 echarts ERROR! Cannot read properties of undefined (reading ‘type‘)
这个不要用 ref 来赋值echarts 实例。
2024-11-14 15:53:28
158
原创 el-form 的动态 el-form-item 校验
关键就是把 :prop=“‘formItemArr.’ + index + ‘.name’” 用这个,el-form 里面会去拿校验的。
2023-10-10 14:36:32
152
原创 starting at object with constructor ‘Watcher‘ | property ‘vm‘ -> object with constructor ‘Vu
使用了Vue 2.7,之前我是用 getCurrentInstance 然后直接获取的store 下面的 userId,后面加了一个 computed。我以为computed 是和之前一样的就没改接口请求,然后就报错,其实 computed 返回的参数和 ref 是一样的需要 .value。
2023-03-18 10:25:51
1023
原创 FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
JavaScript 内存不足,指的就是Node,Node 基于V8引擎, Node 中通过script使用的内存只是很小的一部分(64位系统下约为1.4 GB,32位系统下约为0.7 GB),当我们的开发中包比较大时,就容易形成内存不足。
2023-03-08 14:22:59
8870
原创 picgo 图床上传图片404
picgo 图床上传图片404现在创建 gitee 仓库都是私有的。记得变成开放配置的中文 gitee 会把中文转成英文。设置开源在管理里面最后重点picgo 有好几个 一个个试试。我一开始是第一个 错误。 使用了第三个成功。...
2022-03-18 17:20:57
393
原创 vue inspect > output.js bash: vue: command not found
因为是局部安装的vue-cli 所以使用npx vue-cli-service inspect > output.js才能产生
2021-07-28 15:35:53
827
原创 An error occured, please see below or look at Nuxt.js terminal for more info. Error: EACCES: permiss
这个问题应该就是mac会遇到把npm run dev 前面加个sudosudo npm run dev 就可以了
2021-05-13 15:33:22
2242
原创 Can‘‘t connect to MySQL server on localhost (10061)
把这个开起来就行,这个是我电脑遇到的问题,解决方案,希望能给大家一个帮助
2021-04-17 12:11:19
98
原创 Vue项目遇到的问题
在Vue对数据的下标进行赋值不是响应式,这个功能是选择每一个大标签下面的小标签高亮。https://cn.vuejs.org/v2/guide/reactivity.html#%E6%A3%80%E6%B5%8B%E5%8F%98%E5%8C%96%E7%9A%84%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9所以需要对数据push 再pop一下对数组进行了一些操作就成了响应式。...
2021-03-18 15:13:55
98
原创 2020-11-26
多行文本省略号overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 4;-webkit-box-orient: vertical;
2020-11-26 11:34:09
82
原创 uniapp实现轮播中间大两头小
这个效果我搞了整整两天时间,这个事情是uniapp的current和active-class使用时好像没有变化,不知道是它们有问题还是我使用的不对。直接贴代码下面展示一些 内联代码片。html<swiper class="swiper-block" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" circular='true' previous-margin='90rpx' next-margi
2020-11-25 10:29:02
1562
2
原创 修改hosts
第一步win+x打开shell 使用管理员模式打开然后输入notepad文本然后在根据C:\Windows\System32\drivers\etc打开找到hosts 然后保存
2020-10-17 13:52:35
105
原创 Git的使用
先是使用 git status 来查看新增与修改的文件再git add . 把文件增加到缓存区git commit -m “描述” 保存到本地的git中git checkout -b (login)分支名 创建新的分支名字 当实现每个不同功能时最好新建一个分支来保存git branch 查看分支git checkout 分支名 切换分支git merge (login)分支名 合并哪个分支git push 是把本地的git数据 推送上去。git push -u origin “新分支”
2020-09-27 14:52:57
98
原创 Uncaught TypeError: Cannot read property ‘fc‘ of undefined
这个问题百度地图这里是id正确 class错误
2020-09-17 10:00:31
966
原创 Error in render: "TypeError: Cannot read property 'matched' of undefined"undefined"undefined"undefin
特点是一个函数的调用出现了undefined表示就是可能又些东西你没有配置,这里我的router就没有在我的mian.js文件里配置
2020-05-10 22:10:28
505
原创 this.$route.pathvue.runtime.esm.js?ff9b:619 [Vue warn]: Error in render: "TypeError: Cannot read pro
这个要区别,route与router
2020-05-10 22:08:05
3931
原创 [Vue warn]: Unknown custom element: <App> - did you register the component correctly? For recursive
由于component 忘记加s了值得注意 需要多加个s
2020-05-09 09:38:36
471
原创 Invalid configuration object. Webpack has been initialised using a configuration object that does no
当遇到这种类似的错误就是,你把需要放置的位置放错误了,这个resolve是放在module.exprots的下面。
2020-05-09 08:48:55
1192
原创 webpack加载图片使用file-loader。
当时候file-loader的时候不需要再进行配置了,不然会显示不出来图片,再url-loader已经帮我们加载了,所以不需要配置file-loader。
2020-05-08 21:52:48
351
原创 [Vue warn]: Property or method "message" is not defined on the instance but referenced during render
《错误》[Vue warn]: Property or method “message” is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based compon...
2020-05-04 12:45:33
2493
3
原创 20/4/23问题总结
v-for使用时发现页面整体消失,就是v-for放错了位置,data这个经常打错成date,注意。前端的调试就是用console.log进行调试。
2020-04-23 16:06:39
91
原创 Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.9.RELEASE fr
这个问题卡了我2个小时只需要在maven->conf->settings文件增加下<mirror> <id>alimaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>...
2020-03-22 22:19:57
622
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人