45

五颜六色的代码:论代码的正确位置

 5 years ago
source link: https://juejin.im/post/5bbcbd115188255c352d7951
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
问题描述 最近在做一个需求,多个地方的学员姓名保持一致,从技术角度来看就是多个组件中使用从store中取的同一份数据,并且要格式化。我所采用的方案是 store层的getter + 组件层的 computed和filter ,因为是多个组件都用到这些compu

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK