lary

Results 5 comments of lary

我在component中,使用computed赋到input的v-model上, get为先取组件内部raw,取不到则使用value set时,会触发一个方法提交数据到vuex。 ```javascript editing: { get() { return this.raw || String(this.value) }, set(val) { this.raw = val this.setFieldVal({ fieldName: this.fieldKey, value: val }) } }, ``` 参考 @Stupidism 的分析,添加nextTick,确保先触发子组件的,然后触发父组件的setData...

> 重点应该是svg吧 谁帮解读下svg 两个滤镜的叠加效果着实难以脑补。

收集了一堆链接, 效果: - https://codepen.io/znak/pen/eJZpwo - https://codepen.io/lbebber/pen/pvwZJp - https://codepen.io/lbebber/pen/LELBEo 教程: - https://tympanus.net/codrops/2015/03/10/creative-gooey-effects/ - https://css-tricks.com/gooey-effect/ 科学原理: - [QQ 未读消息的拖拽动态效果是如何实现的? - 祥子的回答 - 知乎](https://www.zhihu.com/question/37231903/answer/139438769)

I create a polyfill for vue project. gist: https://gist.github.com/songlairui/287eaac29cda65cd5f1f7471b6661503 demo: https://github.com/songlairui/demo-madge-vue ![image](https://user-images.githubusercontent.com/6105607/75985235-e85c9900-5f26-11ea-9128-42a40fe36988.png)

may switch to the default `@vite/plugin-react` helps, opt to plugin-react-swc, plugin-react-oxc