4.6.201909211235 • Published 5 years ago
@dfeidao/fd-an000085 v4.6.201909211235
html渲染
Installation
yarn add --dev @dfeidao/fd-an000085
Example
tpl.tpl
<div>
<div data-feidao-presentation='p01'></div>
</div>
p01.tpl
{{~it:v:i}}
<span>{{=v.staff_no}}!</span>
{{~}}
import an85 from '@dfeidao/fd-an000085';
import p01 from './p01';
const data = [{ staff_no: '1' }, { staff_no: '2' }];
an85(fd.data.node, data, p01, 'p01');
4.6.201909211235
5 years ago