Skip to content

RangeError: Maximum call stack size exceeded #86

Description

@caoyuanlianni

大家好,请问使用该组件的时候,报这个是因为什么呢?

  <div>
    <code-diff
      :old-string="oldStr"
      :new-string="newStr"
      context=10
      output-format="side-by-side"
      draw-file-list=true
      render-nothing-when-empty=false
      diff-style="word"
      is-show-no-change=true
    />
  </div>
</template>
<script>
import CodeDiff from 'vue-code-diff'
export default {
  components: {CodeDiff},
  // props: {
  //   attrs: Object,
  // },
  data () {
    return {
      oldStr: '[]',
      newStr: '{}',
    }
  },
}
</script>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions