Closed Lruihao closed 10 months ago
usage case
<CodeDiff :old-string="form.oldString" :new-string="form.newString" :language="form.language" :diff-style="form.diffStyle" > <template #stat="{ stat }"> <span class="diff-stat-added">+{{ stat.additionsNum }} 新增</span> <span class="diff-stat-deleted">-{{ stat.deletionsNum }} 删除</span> </template> </CodeDiff>
好像不错 待会我试下
usage case