自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(233)
  • 资源 (5)
  • 问答 (1)
  • 收藏
  • 关注

原创 专题 | 防抖和节流

防抖节流

2023-02-11 17:19:51 774 1

原创 报错 | Unknown custom element: <el-form> - did you register the component correctly?

Unknown custom element: - did you register the component correctly?

2023-01-09 23:01:24 644

原创 报错 | Failed to load resource: the server responded with a status of 403 (Forbidden)

Failed to load resource: the server responded with a status of 403 (Forbidden)

2023-01-04 21:39:25 1091

原创 搞不懂,想不通,烦死啦

在一个函数里定义了一个数组,里面存储了4数值,然后给这个参数定义了4个形参,2个形参有默认值,也是数值,然后想要数组和实参相加,得到一个新数组,我怎么写不出来呢? 烦死了

2022-11-08 15:58:56 296

原创 报错 | Property or method “$store“ is not defined on the instance but referenced during render.

$store获取不到

2022-10-18 23:03:31 647

原创 基础知识 | js在逃知识收录

js知识

2022-09-23 19:12:09 181

原创 专题 | cookie localStorage 和sessionStorage

cookie local/sessionStroage

2022-09-20 14:26:03 187

原创 报错 | devtools工具安装问题

vuetools问题

2022-09-14 23:28:43 945

原创 前端学习心得

1. 想要下载的软件,如果没有官网可以下载,可以去github上去搜索下载

2022-09-13 01:53:06 146 12

原创 报错 | RegExp2 is not defined

RegExp2 is not defined

2022-08-05 22:07:08 567 3

原创 报错 | Cannot find module ‘@better-scroll/core/dist/types/BScroll‘

Cannot find module '@better-scroll/core/dist/types/BScroll'

2022-08-05 22:02:03 383

原创 报错 | cannot read property ‘_normalized‘ of undefined

cannot read property '_normalized' of undefined

2022-07-21 14:08:49 1326

原创 问题 | vue组件页面快速生成

vue页面快速生成

2022-07-14 23:10:48 627

原创 报错 | Refusing to install package with name “vue-router“ under a package

Refusing to install package with name "vue-router" under a package

2022-07-14 21:53:06 335

原创 专题 | 同步 异步

promise

2022-06-30 11:54:51 152 1

原创 基础知识 | js基础

前增/后增 递增运算符

2022-06-21 21:37:34 860 1

原创 专题 | computed methods与watch

vue的三个比较

2022-06-15 21:54:07 121 2

原创 报错 | Property or method “recommends“ is not defined on the instance but referenced during render

Property or method "recommends" is not defined on the instance but referenced during render

2022-06-04 20:23:33 267

原创 报错 | swiperEl.getElementsByClassName is not a function

swiperEl.getElementsByClassName is not a function

2022-06-02 17:13:03 352

原创 报错 | Custom elements in iteration require ‘v-bind:key‘ directives.

Custom elements in iteration require 'v-bind:key' directives.

2022-06-02 15:09:56 2444

原创 报错 | We‘re sorry but mysupermaket doesn‘t work properly without JavaScript enabled. Please enable it

错误原因:是因为我引入文件的时候把network写成了netWork以后检查一定要先检查单词大小写我还一直怀疑是路径和接口的问题,天啦!!!!!!!感谢群里帮我和帮我指正的人们,不然我都不知道什么时候才会发现这个问题原因......

2022-05-30 12:15:55 309

原创 报错 | Cannot read property “indexOf“ of undefined

//错误代码computed:{ isActive(){ return this.$route.path.indexOf(this.path) !== 1 }}//正确代码,忘了减号computed:{ isActive(){ return this.$route.path.indexOf(this.path) !== -1 }}...

2022-05-27 20:58:57 1250

原创 问题 | babel转化es6失败,没有报错

代码写了后,没有报错,内容也复制了,就是没有转化成es5,跟es6的内容一模一样。原因:把npx那句代码写错了........,把=写成了-正确代码:npx babel src/js -d dist/js --presets=babel-preset-envsrc/js和js的区别是因为我后面增加了一个文件夹,这个没影响,src/js是文件目录名和路径关系,-d后面是复制后改成es5的新文件加个dist就行代码错了代码对了...

2022-05-25 14:44:35 359

原创 报错 | from origin ‘null‘ has been blocked by CORS policy

遇见原因:就是用vs做一个es6的模块化示列,看了下翻译,估计是因为协议不同解决办法:用vs的插件 Live server运行它,不用浏览器

2022-05-24 19:10:25 4655

原创 报错 | GET https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js net::ERR_CONNECTION_RESET

这个错误我本人觉得是因为vue2官方托管的地方出了问题,所有没法使用了。解决方法:到vue官方,点击绿色按钮(开发版本/生产版本)都可以,把vue.js文件下载下来,再引入到要写的页面中就行...

2022-05-21 12:34:15 3391 3

原创 基础知识 | htmlcss在逃知识收录

比如select-none

2022-05-06 21:38:48 437 2

原创 报错 | Do not use built-in or reserved HTML elements as component id: data

vue.js:597 [Vue warn]: Do not use built-in or reserved HTML elements as component id: datawarn @ vue.js:597validateComponentName @ vue.js:1350checkComponents @ vue.js:1337mergeOptions @ vue.js:1457Vue._init @ vue.js:4598Vue @ vue.js:4716(anonymous)

2022-03-24 22:14:29 393

原创 练习 | 正则表达式 100

?最多出现一次an?d 可以匹配 ad或者 and,?问号代表前面的字符n最多只可以出现一次(0次或1次)<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script> var a="and"; var b="ad" /..

2022-03-19 19:58:58 281

原创 专题 | vue的声明周期

beforeCreate:data和methods中的数据还没有初始化这个现象是正确的,因为data和methods中的数据还没有初始化<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" co.

2022-03-07 23:26:39 479

原创 报错 | this.show is not a function

<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume...

2022-03-07 22:33:20 1343

原创 基础知识 | 正则表达式

例子:取出变量里的数字两种方法<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title></title> </head> <body> <script> // 取出里面的数字 let hd="houdunren2200hdcms9988"; let nums=[...hd].filter(a=>

2022-03-05 10:39:42 372

原创 问题 | 用了具名插槽页面内容不显示

页面没有显示使用插槽的地方,但是这个地方不是页面显示的地方就是这里错了解决方法如下:用v-slot内容显示出来了

2022-03-04 22:14:05 619

原创 报错 | ERROR This relative module was not found

ERROR Failed to compile with 1 error This relative module was not found:* ./components/tabber/TabBar in ./node_modules/cache-loader/dist/cjs.js??ref--13...

2022-03-02 17:44:34 1240

原创 前端面试题第二次整理(第二次找工作)

浏览器相关有哪几种浏览器,它们的内核是浏览器有ie /safari/ chrome /mozilla firefox /opera对应的内核有:ie----trident safari/chrome---webkit mozilla firefox---gecko opera---presto说下对浏览器内核的理解浏览器内核主要包括以下三个技术分支:排版渲染引擎、 JavaScript引擎,以及其他。排版渲染引擎:主要负责取得网页的内容(HTML、XML、图像等)、整........

2022-03-01 22:54:32 475

原创 vue暂时知识点

目录结构划分1、先删掉components文件下的helloworld,再删除App.vue中的hellowrold的引用,assets文件下的 logo.png也删除掉2.assets下创建两个文件夹 img css3.src下新建文件夹views4.components里一般放公共的组件,下面建立两个文件夹 common(其他项目也能用的公共内容) 、content(业务相关的公共内容)5.在src下新建路由文件夹 router6.在src下新建状态管理文件夹 store7.

2022-03-01 21:35:24 80

原创 github暂存内容

…or create a new repository on the command lineecho "# mymall" >> README.mdgit initgit add README.mdgit commit -m "first commit"git branch -M maingit remote add origin https://github.com/zhaozhao638/mymall.gitgit push -u origin main…or pus

2022-03-01 20:52:06 147

原创 练习 | vue案例 100

Backbone.js • TodoMVC

2022-02-22 14:54:43 1151

原创 2022年 前端面试题 我第二次找工作过程中遇到的

1.生命周期的问题,但是呢不会让你照着背,而是给出一个问题,让你判断什么时候用它。2.git冲突的问题3.git.svn的区别是什么4.vue中身份状态的保存,不用cookie5.基本数据结构 hash栈6.7.还有些忘了这份工资参考是6——8k............

2022-02-21 20:33:20 626 5

原创 报错 | Error compiling template:v-else used on element <span

报错

2022-01-13 21:26:20 543

原创 练习 | vue12个指令600次练习

v-on---1

2022-01-12 18:21:27 167

如何判断是pc端还是移动端

如何判断是pc端还是移动端

2022-04-16

js文件就是那个外部资源文件

js文件就是那个外部资源文件

2022-04-11

淘宝自适应文件js可以直接用

淘宝自适应文件js可以直接用

2022-02-12

打工人的24h.pptx

ppt 我的时间24

2021-09-13

链接点击时背景颜色.mp4

初级

2021-06-30

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

TA关注的人

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