bemzhao

Results 6 comments of bemzhao

npm run unit 到这一步出了问题,请问可以帮忙看下吗

> @Zero2015 当prop属性存在于原型链上时,并不是obj自身属性的时候 因为 hasOwnProperty 并不是保留的关键字,所以如果对象上有 hasOwnProperty 作为属性名的时候,obj.hasOwnProperty(prop) 还有可能会报错 ```js obj.hasOwnProperty is not a function ``` 所以应该用 Object 上真正的 hasOwnProperty 方法 ~~if (obj.hasOwnProperty(prop)) {~~ **if (Object.hasOwnProperty.call(obj, prop)) {**

> 扩展运算符是深拷贝吧,只能拷贝一层 首先,拷贝的意思就是大家都能把对象中的指针也拷贝一份,但如果对象中还有对象呢? 深拷贝是深层次的拷贝,浅拷贝是浅层次的拷贝; 如果对象中又是一个对象(引用类型); 浅拷贝出来的对象中的对象被修改时,原对象也会被修改; 而深拷贝出来的对象中的对象被修改时,原对象不会受到影响;

看过你的material design资料整合,前端路上,一起加油

I had the same problem, I solved it by adding a callback function to the config, the custom plugin just returns the state when you click the button I'm not...

It seems a better way to use Portals ```tsx // editor.tsx import React, { FC, useState } from 'react'; import { CKEditor as Editor } from '@ckeditor/ckeditor5-react'; import DecoupledEditor from...