Results 41 comments of Geek-James

服务器500错误...

> > 欢迎大佬们访问提BUG. > > https://github.com/Geek-James/ddBuy > > 方便加qq吗 https://github.com/Geek-James/ddBuy 项目介绍里面有微信二维码,扫码就可以啦

可以用这个自动生成唯一key值的库来解决 https://github.com/dylang/shortid

> 第一题的答案中let 和const 是不存在变量提升的, 感谢你的补充,查阅了相关资料, let 的「创建」过程被提升了,但是初始化没有提升。 var 的「创建」和「初始化」都被提升了。 function 的「创建」「初始化」和「赋值」都被提升了。 提升的过程可能不一致,导致了很多人误解let自始至终是不提升的,其实在创建过程是被提升了,只不过在暂时性死区的作用下,初始化是没有被提升的。

> 你好,再this的那边,你讲的是apply讲this指向新对象,这边说的是call呢 call和apply都可以改变this的指向,call改变this指向传入的是字符串对象,而apply传入的是数组对象☺️

> 所以在new那边,改变this指向,两个方法都是可以的吗 对是的,apply 和 call 的区别是 call 方法接受的是若干个参数列表,而 apply 接收的是一个包含多个参数的数组。本质上是改变this的指向,只不过区别在于传入的参数列表存在差别,如果传入的参数都不是数组,那么这两个方法是一样的效果。你可以尝试着用实例代码跑一遍。

> 噢噢,知道了,非常感谢 不客气😄加油🚀

This issue has fixed. Please download the latest release version 1.2.2

> warning in ./src/views/mine/Children/MyVip.vue?vue&type=style&index=0&id=d467415a&lang=less&scoped=true& > > Module Warning (from ./node_modules/postcss-loader/src/index.js): > Warning > > (89:3) start value has mixed support, consider using flex-start instead > > @ ./node_modules/vue-style-loader??ref--10-oneOf-1-0!./node_modules/css-loader??ref--10-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--10-oneOf-1-2!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/mine/Children/MyVip.vue?vue&type=style&index=0&id=d467415a&lang=less&scoped=true& 4:14-496 14:3-18:5...

> 谢谢, 这里用的什么引起的报错? > […](#) > ------------------ 原始邮件 ------------------ 发件人: "极客-James"