- 博客(233)
- 资源 (5)
- 问答 (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
857
原创 报错 | 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
1321
原创 搞不懂,想不通,烦死啦
在一个函数里定义了一个数组,里面存储了4数值,然后给这个参数定义了4个形参,2个形参有默认值,也是数值,然后想要数组和实参相加,得到一个新数组,我怎么写不出来呢? 烦死了
2022-11-08 15:58:56
357
原创 报错 | Property or method “$store“ is not defined on the instance but referenced during render.
$store获取不到
2022-10-18 23:03:31
742
原创 报错 | Cannot find module ‘@better-scroll/core/dist/types/BScroll‘
Cannot find module '@better-scroll/core/dist/types/BScroll'
2022-08-05 22:02:03
530
原创 报错 | cannot read property ‘_normalized‘ of undefined
cannot read property '_normalized' of undefined
2022-07-21 14:08:49
1500
原创 报错 | 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
410
原创 报错 | 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
346
原创 报错 | swiperEl.getElementsByClassName is not a function
swiperEl.getElementsByClassName is not a function
2022-06-02 17:13:03
447
原创 报错 | Custom elements in iteration require ‘v-bind:key‘ directives.
Custom elements in iteration require 'v-bind:key' directives.
2022-06-02 15:09:56
2550
原创 报错 | We‘re sorry but mysupermaket doesn‘t work properly without JavaScript enabled. Please enable it
错误原因:是因为我引入文件的时候把network写成了netWork以后检查一定要先检查单词大小写我还一直怀疑是路径和接口的问题,天啦!!!!!!!感谢群里帮我和帮我指正的人们,不然我都不知道什么时候才会发现这个问题原因......
2022-05-30 12:15:55
753
原创 报错 | 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
1383
原创 问题 | 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
504
原创 报错 | from origin ‘null‘ has been blocked by CORS policy
遇见原因:就是用vs做一个es6的模块化示列,看了下翻译,估计是因为协议不同解决办法:用vs的插件 Live server运行它,不用浏览器
2022-05-24 19:10:25
4791
原创 报错 | GET https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js net::ERR_CONNECTION_RESET
这个错误我本人觉得是因为vue2官方托管的地方出了问题,所有没法使用了。解决方法:到vue官方,点击绿色按钮(开发版本/生产版本)都可以,把vue.js文件下载下来,再引入到要写的页面中就行...
2022-05-21 12:34:15
3896
3
原创 报错 | 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
445
原创 练习 | 正则表达式 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
377
原创 专题 | 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
521
原创 报错 | 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
1511
原创 基础知识 | 正则表达式
例子:取出变量里的数字两种方法<!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
433
原创 问题 | 用了具名插槽页面内容不显示
页面没有显示使用插槽的地方,但是这个地方不是页面显示的地方就是这里错了解决方法如下:用v-slot内容显示出来了
2022-03-04 22:14:05
697
原创 报错 | 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
1363
原创 前端面试题第二次整理(第二次找工作)
浏览器相关有哪几种浏览器,它们的内核是浏览器有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
636
原创 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
115
原创 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
197
原创 2022年 前端面试题 我第二次找工作过程中遇到的
1.生命周期的问题,但是呢不会让你照着背,而是给出一个问题,让你判断什么时候用它。2.git冲突的问题3.git.svn的区别是什么4.vue中身份状态的保存,不用cookie5.基本数据结构 hash栈6.7.还有些忘了这份工资参考是6——8k............
2022-02-21 20:33:20
688
5
什么是博客详情页好想知道
2021-08-13
TA创建的收藏夹 TA关注的收藏夹
TA关注的人