子组件:codeDiff.vue <template><divclass="vue-code-diff"><code-diff:old-string="oldValue":new-string="newValue":context="10"outputFormat="side-by-side"/></div></template><script>importCodeDifffrom'vue-code-diff'exportdefault{components: {CodeDiff},data:() =>({// 旧值// oldValue: ...