自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 收藏
  • 关注

原创 el-form 的动态 el-form-item 校验

关键就是把 :prop=“‘formItemArr.’ + index + ‘.name’” 用这个,el-form 里面会去拿校验的。

2023-10-10 14:36:32 76

原创 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 858

原创 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 8660

原创 picgo 图床上传图片404

picgo 图床上传图片404现在创建 gitee 仓库都是私有的。记得变成开放配置的中文 gitee 会把中文转成英文。设置开源在管理里面最后重点picgo 有好几个 一个个试试。我一开始是第一个 错误。 使用了第三个成功。...

2022-03-18 17:20:57 304

原创 windows cd ~/.ssh报错

这里提供一个你之前可能有这个文件。打开这个在进入。

2022-03-05 23:11:29 671

原创 vue inspect > output.js bash: vue: command not found

因为是局部安装的vue-cli 所以使用npx vue-cli-service inspect > output.js才能产生

2021-07-28 15:35:53 757

原创 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 2127

原创 Can‘‘t connect to MySQL server on localhost (10061)

把这个开起来就行,这个是我电脑遇到的问题,解决方案,希望能给大家一个帮助

2021-04-17 12:11:19 81

原创 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 81

原创 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 64

原创 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 1434 1

原创 修改hosts

第一步win+x打开shell 使用管理员模式打开然后输入notepad文本然后在根据C:\Windows\System32\drivers\etc打开找到hosts 然后保存

2020-10-17 13:52:35 80

原创 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 82

原创 Uncaught TypeError: Cannot read property ‘fc‘ of undefined

这个问题百度地图这里是id正确 class错误

2020-09-17 10:00:31 941

原创 Error in render: "TypeError: Cannot read property 'matched' of undefined"undefined"undefined"undefin

特点是一个函数的调用出现了undefined表示就是可能又些东西你没有配置,这里我的router就没有在我的mian.js文件里配置

2020-05-10 22:10:28 467

原创 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 3898

原创 [Vue warn]: Unknown custom element: <App> - did you register the component correctly? For recursive

由于component 忘记加s了值得注意 需要多加个s

2020-05-09 09:38:36 436

原创 Invalid configuration object. Webpack has been initialised using a configuration object that does no

当遇到这种类似的错误就是,你把需要放置的位置放错误了,这个resolve是放在module.exprots的下面。

2020-05-09 08:48:55 1163

原创 webpack加载图片使用file-loader。

当时候file-loader的时候不需要再进行配置了,不然会显示不出来图片,再url-loader已经帮我们加载了,所以不需要配置file-loader。

2020-05-08 21:52:48 320

原创 [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 2417 3

原创 20/4/23问题总结

v-for使用时发现页面整体消失,就是v-for放错了位置,data这个经常打错成date,注意。前端的调试就是用console.log进行调试。

2020-04-23 16:06:39 77

原创 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 584 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除