Skip to content

Commit a70772e

Browse files
committed
fix[module]:部署上线问题
1 parent c53d3f0 commit a70772e

File tree

6 files changed

+17
-19
lines changed

6 files changed

+17
-19
lines changed

dbblog-backend/dbblog-core/src/main/resources/logback-spring.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@
1313

1414
<!-- 生产环境 -->
1515
<springProfile name="prod">
16-
<!--<logger name="org.springframework.web" level="ERROR"/>-->
17-
<!--<logger name="org.springboot.sample" level="ERROR" />-->
18-
<!--<logger name="cn.dblearn.blog" level="ERROR" />-->
19-
<logger name="org.springframework.web" level="INFO"/>
20-
<logger name="org.springboot.sample" level="INFO" />
21-
<logger name="cn.dblearn.blog" level="DEBUG" />
16+
<logger name="org.springframework.web" level="ERROR"/>
17+
<logger name="org.springboot.sample" level="ERROR" />
18+
<logger name="cn.dblearn.blog" level="ERROR" />
2219
</springProfile>
2320

2421
</configuration>

dbblog-frontend/src/components/content/BookListContent.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<div class="book-gallery">
77
<div class="swiper-wrapper">
88
<div class="swiper-slide" v-for="book in readingBookList" :key="book.id">
9-
<!--<h4>正在阅读</h4>-->
109
<book-reading-cell :book="book"></book-reading-cell>
1110
</div>
1211
</div>
@@ -17,7 +16,7 @@
1716
:categorys="categoryList"
1817
:defaultCategory="selected_category"
1918
:mainTitle="'图书列表'" :sub-title="'Books'" ></book-list-header>
20-
<book-list-cell v-for="book in bookList" :book="book" :key="book.id"></book-list-cell>
19+
<book-list-cell v-for="book in bookList" :book="book" :key="book.name"></book-list-cell>
2120
<book-note-list-header @filterByMenu="filterByBookNoteMenu"
2221
:filterList = bookNoteFilterList
2322
:mainTitle="'笔记列表'" :sub-title="'BookNotes'" ></book-note-list-header>

dbblog-frontend/src/components/views/Article/ArticleListCell.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<iv-col :xs="24" :sm="24" :md="textSpan" :lg="textSpan" :order="textOrderType" style="padding-left: 0;padding-right: 0;">
66
<div class="text-wrapper">
77
<h4 class="title">
8-
<a :href="'article/'+article.id">{{article.title}}</a>
8+
<a :href="'/article/'+article.id">{{article.title}}</a>
99
<span class="special" v-if="article.top>0" title="置顶">置顶</span>
1010
</h4>
1111
<div class="tags">
1212
<iv-tag :color="index | mapTagColor" :key="tag.id" type="border" v-for ="(tag , index) in article.tagList">{{tag.name}}</iv-tag>
1313
</div>
14-
<p class="desc">{{article.description | filterHtml | textLineBreak(70) }}<a :href="'article/'+article.id"> 查看更多
14+
<p class="desc">{{article.description | filterHtml | textLineBreak(70) }}<a :href="'/article/'+article.id"> 查看更多
1515
<iv-icon type="arrow-right-b"></iv-icon>
1616
</a></p>
1717
<p class="operate_info">

dbblog-frontend/src/components/views/Book/BookListCell.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<iv-col :xs="24" :sm="24" :md="textSpan" :lg="textSpan" :order="textOrderType" style="padding-left: 0;padding-right: 0;">
66
<div class="text-wrapper">
77
<h4 class="title">
8-
<a :href="'book/'+book.id">{{book.title}}</a>
8+
<a :href="'/book/'+book.id">{{book.title}}</a>
99
<span class="special" v-if="book.reading>0" title="正在阅读">正在阅读</span>
1010
</h4>
1111
<div class="tags">
1212
<iv-tag :color="index | mapTagColor" :key="tag.id" type="border" v-for ="(tag , index) in book.tagList">{{tag.name}}</iv-tag>
1313
</div>
14-
<p class="desc">{{book.description | filterHtml | textLineBreak(70) }}<a :href="'book/'+book.id"> 查看更多
14+
<p class="desc">{{book.description | filterHtml | textLineBreak(70) }}<a :href="'/book/'+book.id"> 查看更多
1515
<iv-icon type="arrow-right-b"></iv-icon>
1616
</a></p>
1717
<p class="operate_info">

dbblog-frontend/src/components/views/Book/BookReadingCell.vue

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="book-reading-cell">
33
<h4>正在阅读</h4>
4-
<a :href="`book/${book.id}`">
4+
<a>
55
<div class="img">
66
<div class="container">
77
<div class="bracket"></div>
@@ -12,7 +12,7 @@
1212
</div>
1313
<div class="book-info">
1414
<p class="title">
15-
<a :href="`book/${book.id}`"> {{book.title}}</a>
15+
<a :href="`/book/${book.id}`"> {{book.title}}</a>
1616
</p>
1717
<p class="desc"><span>作者:</span>{{ book.author }}</p>
1818
<iv-progress :percent="book.progress" :stroke-width="6">
@@ -82,14 +82,16 @@ export default {
8282
flex 0 0 140px
8383
width 140px
8484
overflow hidden
85-
margin 0 30px 10px 0
8685
border 1px solid $default-border-hover-color
8786
box-shadow 1px 1px 1px $default-border-color
8887
@media only screen and (max-width: $responsive-sm)
89-
display none
88+
display block
89+
margin 0 15px 5px 0
9090
@media screen and (min-width: $responsive-sm)
91-
display none
91+
display block
92+
margin 0 20px 7px 0
9293
@media screen and (min-width: $responsive-lg)
94+
margin 0 30px 10px 0
9395
display block
9496
.container
9597
width 100%

dbblog-frontend/src/components/views/BookNote/BookNoteListCell.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<iv-col :xs="24" :sm="24" :md="textSpan" :lg="textSpan" :order="textOrderType" style="padding-left: 0;padding-right: 0;">
66
<div class="text-wrapper">
77
<h4 class="title">
8-
<a :href="'bookNote/'+bookNote.id">{{bookNote.title}}</a>
8+
<a :href="'/bookNote/'+bookNote.id">{{bookNote.title}}</a>
99
<span class="special" v-if="bookNote.top>0" title="置顶">置顶</span>
1010
</h4>
1111
<div class="tags">
1212
<iv-tag :color="index | mapTagColor" :key="tag.id" type="border" v-for ="(tag , index) in bookNote.tagList">{{tag.name}}</iv-tag>
1313
</div>
14-
<p class="desc">{{bookNote.description | filterHtml | textLineBreak(70) }}<a :href="'bookNote/'+bookNote.id"> 查看更多
14+
<p class="desc">{{bookNote.description | filterHtml | textLineBreak(70) }}<a :href="'/bookNote/'+bookNote.id"> 查看更多
1515
<iv-icon type="arrow-right-b"></iv-icon>
1616
</a></p>
1717
<p class="operate_info">

0 commit comments

Comments
 (0)