mirror of https://github.com/halo-dev/halo-admin
Refactor codes.
parent
82cbb0d589
commit
2b2c4f4a88
|
@ -213,7 +213,7 @@
|
|||
>保存</a-button>
|
||||
<a-button
|
||||
type="dashed"
|
||||
@click="handleShowAttachDrawer"
|
||||
@click="()=>this.attachmentDrawerVisible = true"
|
||||
style="margin-left: 8px;"
|
||||
>附件库</a-button>
|
||||
</footer-tool-bar>
|
||||
|
@ -236,7 +236,7 @@
|
|||
<a
|
||||
rel="noopener noreferrer"
|
||||
href="javascript:void(0);"
|
||||
@click="handleShowUploadModal"
|
||||
@click="()=>this.uploadVisible = true"
|
||||
>安装主题</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item>
|
||||
|
@ -382,12 +382,6 @@ export default {
|
|||
this.themeConfiguration = null
|
||||
this.themeProperty = null
|
||||
},
|
||||
handleShowUploadModal() {
|
||||
this.uploadVisible = true
|
||||
},
|
||||
handleShowAttachDrawer() {
|
||||
this.attachmentDrawerVisible = true
|
||||
},
|
||||
handleChange(info) {
|
||||
const status = info.file.status
|
||||
if (status === 'done') {
|
||||
|
|
|
@ -192,7 +192,7 @@
|
|||
closable
|
||||
:visible="commentVisiable"
|
||||
destroyOnClose
|
||||
@close="onCommentDrawerClose"
|
||||
@close="()=>this.commentVisiable = false"
|
||||
>
|
||||
<a-row
|
||||
type="flex"
|
||||
|
@ -352,9 +352,6 @@ export default {
|
|||
resetParam() {
|
||||
this.queryParam.keyword = null
|
||||
this.loadJournals()
|
||||
},
|
||||
onCommentDrawerClose() {
|
||||
this.commentVisiable = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue