Electrolux

Results 14 comments of Electrolux

npm uninstall remark-mdx 把这玩意卸载了就可以了,亲测可用

> > npm uninstall remark-mdx 把这玩意卸载了就可以了,亲测可用 > > 老哥你用的是哪个版本的nodejs 16.18.0

emm,怎么说呢。其实这是一个抉择问题。你可以看到 在这个pr修改前的源码,有着一个在 catch 中的判断。大意也是说取得 在setField中不存在的key然后赋予默认值 ```ts // key not exist if (isDef(defaultValueRef.value[nestKey])) { unref(formModel)[nestKey] = cloneDeep(unref(defaultValueRef.value[nestKey])); } ``` 因此我当时提交这个pr的时候想着是保持 `key not exist` 的一致性然后提了这个pr。然后可以回答一下你为什么pr前后代码的行为不一致。原因是 在这个pr前 关于 key not exist 的逻辑处于catch的代码块中,然后永远不会被触发。。在我提了那个pr后,那个 key...

> 看下ci 有类型问题 okok,已解决

To be honest, I don't think the author's approach is easy to understand. My treatment of sibling is ` if (i == 0) { fiber.children = newFiber } else {...

> @electroluxcode 我觉得设置哪个值就给哪个值赋值比较好点吧,看群里有人吐槽了,大佬要不要再提个PR ok,我觉得这段语义确实应该是设置哪个值就给哪个值赋值比较好。但是重置成默认值也是有需求的,目前的代码是将设置默认值和赋值耦合在一起了。我看看怎么把这两者分离出来,等一下提个pr吧

this is smallest example ,other libraries can correctly parse the information. > index.less ```less a::after { position: absolute; top: 0; display: none \9; } ``` > cssnano.js ```js import postcss...

> Sorry, I don't understand what the problem is. Here is some HTML containing the code you wrote: > > ``` > > a::after { > content: 'test'; > position:...

Yes, I agree with your point. The compression of cssnano indeed does not fully follow the CSS specification. But just as the passage in the CSS specification says: **U+005C REVERSE...

> It might be listed in devDependencies ? my mistake, has been modified