Zeng Zheng
Results
4
issues of
Zeng Zheng
Module build failed: Error: ENOENT: no such file or directory, open 'C:\Users\zz\Desktop\ezop\node_modules\element-ui\lib\element-ui.common.js' @ ./src/main.js 5:0-35 @ multi ./build/dev-client ./src/main.js
使用el-table的时候,我自己写了一个渲染函数来显示表格内的内容,目的是为了显示一些图片或者富文本: <template slot-scope="cd"> <div v-html="render(cd.row, col.index)" style="display:inline"></div> </template> 但问题出来了,在对列进行筛选操作的时候,每次展开和关闭筛选选择框,都要调用 render函数,为什么要这样做,这样既没有任何作用,而且还十分低效,有没有什么办法能避免,我看有个filtered-value的列属性好像可以用,但是没看明白是怎么用的