<commit_before><template>
  <ovtemplate>
    <div slot="header">
      <span class="i-ov-title"> 正在读 </span>
      <icon class="i-ov-icon" name="book" scale="2"></icon>
    </div>
    <div>
      <book-list v-for="book in booklist" :key="book" :book="book">
      </book-list>
    </div>
  </ovtemplate>
</template>

<script>
import BookList from './ov.douban.list'
export default {
  data () {
    return {
      booklist: null
    }
  },
  components: {
    BookList
  },
  mounted () {
    this.fetchData()
  },
  methods: {
    fetchData () {
      this.$http.get('/api/douban/list/do').then(response => {
        this.booklist = response.body.books
      }, response => {<commit_msg>[NEW] add link to my douban page<commit_after><template>
  <ovtemplate>
    <div slot="header">
      <span class="i-ov-title"> 正在读 </span>
      <icon class="i-ov-icon" name="book" scale="2"></icon>
    </div>
    <div>
      <book-list v-for="book in booklist" :key="book" :book="book">
      </book-list>
      <a href="https://www.douban.com/people/deanacroic/" rel="noopener" target="_blank">我的豆瓣</a>
    </div>
  </ovtemplate>
</template>

<script>
import BookList from './ov.douban.list'
export default {
  data () {
    return {
      booklist: null
    }
  },
  components: {
    BookList
  },
  mounted () {
    this.fetchData()
  },
  methods: {
    fetchData () {
      this.$http.get('/api/douban/list/do').then(response => {
        this.booklist = response.body.books
      }, response => {
{'fraction_non_alphanumeric': 0.19022103148024114, 'fraction_numerical': 0.0013395847287340924, 'mean_word_length': 2.548693586698337, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 39, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2218796', 'n_tokens_mistral': 543, 'n_tokens_neox': 538, 'n_words': 100}