mirror of https://github.com/halo-dev/halo
Frankly, I don't know how to write this commit information.
parent
641a478902
commit
469608acf5
|
@ -87,7 +87,7 @@
|
|||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-list
|
||||
:grid="{ gutter: 12, xs: 1, sm: 2, md: 4, lg: 6, xl: 6, xxl: 6 }"
|
||||
:grid="{ gutter: 12, xs: 2, sm: 2, md: 4, lg: 6, xl: 6, xxl: 6 }"
|
||||
:dataSource="formattedDatas"
|
||||
:loading="listLoading"
|
||||
>
|
||||
|
@ -110,7 +110,7 @@
|
|||
</div>
|
||||
<a-card-meta>
|
||||
<ellipsis
|
||||
:length="isMobile()?36:16"
|
||||
:length="isMobile()?12:16"
|
||||
tooltip
|
||||
slot="description"
|
||||
>{{ item.name }}</ellipsis>
|
||||
|
@ -256,6 +256,7 @@ export default {
|
|||
},
|
||||
handleQuery() {
|
||||
this.queryParam.page = 0
|
||||
this.pagination.page = 1
|
||||
this.loadAttachments()
|
||||
},
|
||||
onUploadClose() {
|
||||
|
|
|
@ -119,7 +119,10 @@
|
|||
slot="status"
|
||||
slot-scope="statusProperty"
|
||||
>
|
||||
<a-badge :status="statusProperty.status" :text="statusProperty.text"/>
|
||||
<a-badge
|
||||
:status="statusProperty.status"
|
||||
:text="statusProperty.text"
|
||||
/>
|
||||
</span>
|
||||
<a
|
||||
v-if="type==='posts'"
|
||||
|
@ -405,6 +408,7 @@ export default {
|
|||
},
|
||||
handleQuery() {
|
||||
this.queryParam.page = 0
|
||||
this.pagination.current = 1
|
||||
this.loadComments()
|
||||
},
|
||||
handleEditStatusClick(commentId, status) {
|
||||
|
|
|
@ -406,6 +406,11 @@ export default {
|
|||
},
|
||||
...mapGetters(['options'])
|
||||
},
|
||||
destroyed: function() {
|
||||
if (this.logDrawerVisible) {
|
||||
this.logDrawerVisible = false
|
||||
}
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
next(vm => {
|
||||
vm.interval = setInterval(() => {
|
||||
|
@ -419,6 +424,9 @@ export default {
|
|||
this.interval = null
|
||||
this.$log.debug('Cleared interval')
|
||||
}
|
||||
if (this.logDrawerVisible) {
|
||||
this.logDrawerVisible = false
|
||||
}
|
||||
next()
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -488,6 +488,7 @@ export default {
|
|||
},
|
||||
handleQuery() {
|
||||
this.queryParam.page = 0
|
||||
this.pagination.current = 1
|
||||
this.loadPosts()
|
||||
},
|
||||
handleEditStatusClick(postId, status) {
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-list
|
||||
:grid="{ gutter: 12, xs: 1, sm: 2, md: 4, lg: 6, xl: 6, xxl: 6 }"
|
||||
:grid="{ gutter: 12, xs: 2, sm: 2, md: 4, lg: 6, xl: 6, xxl: 6 }"
|
||||
:dataSource="photos"
|
||||
:loading="listLoading"
|
||||
>
|
||||
|
@ -89,7 +89,7 @@
|
|||
</div>
|
||||
<a-card-meta>
|
||||
<ellipsis
|
||||
:length="isMobile()?36:16"
|
||||
:length="isMobile()?12:16"
|
||||
tooltip
|
||||
slot="description"
|
||||
>{{ item.name }}</ellipsis>
|
||||
|
|
Loading…
Reference in New Issue