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>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-list
|
<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"
|
:dataSource="formattedDatas"
|
||||||
:loading="listLoading"
|
:loading="listLoading"
|
||||||
>
|
>
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a-card-meta>
|
<a-card-meta>
|
||||||
<ellipsis
|
<ellipsis
|
||||||
:length="isMobile()?36:16"
|
:length="isMobile()?12:16"
|
||||||
tooltip
|
tooltip
|
||||||
slot="description"
|
slot="description"
|
||||||
>{{ item.name }}</ellipsis>
|
>{{ item.name }}</ellipsis>
|
||||||
|
@ -256,6 +256,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParam.page = 0
|
this.queryParam.page = 0
|
||||||
|
this.pagination.page = 1
|
||||||
this.loadAttachments()
|
this.loadAttachments()
|
||||||
},
|
},
|
||||||
onUploadClose() {
|
onUploadClose() {
|
||||||
|
|
|
@ -119,7 +119,10 @@
|
||||||
slot="status"
|
slot="status"
|
||||||
slot-scope="statusProperty"
|
slot-scope="statusProperty"
|
||||||
>
|
>
|
||||||
<a-badge :status="statusProperty.status" :text="statusProperty.text"/>
|
<a-badge
|
||||||
|
:status="statusProperty.status"
|
||||||
|
:text="statusProperty.text"
|
||||||
|
/>
|
||||||
</span>
|
</span>
|
||||||
<a
|
<a
|
||||||
v-if="type==='posts'"
|
v-if="type==='posts'"
|
||||||
|
@ -405,6 +408,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParam.page = 0
|
this.queryParam.page = 0
|
||||||
|
this.pagination.current = 1
|
||||||
this.loadComments()
|
this.loadComments()
|
||||||
},
|
},
|
||||||
handleEditStatusClick(commentId, status) {
|
handleEditStatusClick(commentId, status) {
|
||||||
|
|
|
@ -406,6 +406,11 @@ export default {
|
||||||
},
|
},
|
||||||
...mapGetters(['options'])
|
...mapGetters(['options'])
|
||||||
},
|
},
|
||||||
|
destroyed: function() {
|
||||||
|
if (this.logDrawerVisible) {
|
||||||
|
this.logDrawerVisible = false
|
||||||
|
}
|
||||||
|
},
|
||||||
beforeRouteEnter(to, from, next) {
|
beforeRouteEnter(to, from, next) {
|
||||||
next(vm => {
|
next(vm => {
|
||||||
vm.interval = setInterval(() => {
|
vm.interval = setInterval(() => {
|
||||||
|
@ -419,6 +424,9 @@ export default {
|
||||||
this.interval = null
|
this.interval = null
|
||||||
this.$log.debug('Cleared interval')
|
this.$log.debug('Cleared interval')
|
||||||
}
|
}
|
||||||
|
if (this.logDrawerVisible) {
|
||||||
|
this.logDrawerVisible = false
|
||||||
|
}
|
||||||
next()
|
next()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -488,6 +488,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleQuery() {
|
handleQuery() {
|
||||||
this.queryParam.page = 0
|
this.queryParam.page = 0
|
||||||
|
this.pagination.current = 1
|
||||||
this.loadPosts()
|
this.loadPosts()
|
||||||
},
|
},
|
||||||
handleEditStatusClick(postId, status) {
|
handleEditStatusClick(postId, status) {
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :span="24">
|
<a-col :span="24">
|
||||||
<a-list
|
<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"
|
:dataSource="photos"
|
||||||
:loading="listLoading"
|
:loading="listLoading"
|
||||||
>
|
>
|
||||||
|
@ -89,7 +89,7 @@
|
||||||
</div>
|
</div>
|
||||||
<a-card-meta>
|
<a-card-meta>
|
||||||
<ellipsis
|
<ellipsis
|
||||||
:length="isMobile()?36:16"
|
:length="isMobile()?12:16"
|
||||||
tooltip
|
tooltip
|
||||||
slot="description"
|
slot="description"
|
||||||
>{{ item.name }}</ellipsis>
|
>{{ item.name }}</ellipsis>
|
||||||
|
|
Loading…
Reference in New Issue