chore: upgrade dependencies. (#237)

pull/238/head
Ryan Wang 2020-08-30 15:23:31 +08:00 committed by GitHub
parent eeed76a14e
commit 121776da41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 435 additions and 371 deletions

114
package-lock.json generated
View File

@ -2601,34 +2601,6 @@
"webpack-sources": "^1.4.3" "webpack-sources": "^1.4.3"
} }
}, },
"vue-loader-v16": {
"version": "npm:vue-loader@16.0.0-beta.5",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.0.0-beta.5.tgz",
"integrity": "sha512-ciWfzNefqWlmzKznCWY9hl+fPP4KlQ0A9MtHbJ/8DpyY+dAM8gDrjufIdxwTgC4szE4EZC3A6ip/BbrqM84GqA==",
"dev": true,
"optional": true,
"requires": {
"@types/mini-css-extract-plugin": "^0.9.1",
"chalk": "^3.0.0",
"hash-sum": "^2.0.0",
"loader-utils": "^1.2.3",
"merge-source-map": "^1.1.0",
"source-map": "^0.6.1"
},
"dependencies": {
"chalk": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
}
}
},
"wrap-ansi": { "wrap-ansi": {
"version": "6.2.0", "version": "6.2.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
@ -3114,9 +3086,9 @@
} }
}, },
"ant-design-vue": { "ant-design-vue": {
"version": "1.6.4", "version": "1.6.5",
"resolved": "https://registry.npmjs.org/ant-design-vue/-/ant-design-vue-1.6.4.tgz", "resolved": "https://registry.npmjs.org/ant-design-vue/-/ant-design-vue-1.6.5.tgz",
"integrity": "sha512-BQ37Vcw6itMIsa+UFr+ad4I3Tx6ZYAPnComvWXQwWqDuVIW4A0M5X+nY/pTTIaH9cPSxMse8KUSUu0ibuYj3Ag==", "integrity": "sha512-FzLrK+JuJUq+g4vd+UjFFi13ZdSsb11EZFapisFXilJxpc1LxqyunZu5AP4nr9vFLs3J4UX2A6q+Rp/Fi6JrLg==",
"requires": { "requires": {
"@ant-design/icons": "^2.1.1", "@ant-design/icons": "^2.1.1",
"@ant-design/icons-vue": "^2.0.0", "@ant-design/icons-vue": "^2.0.0",
@ -16133,6 +16105,86 @@
} }
} }
}, },
"vue-loader-v16": {
"version": "npm:vue-loader@16.0.0-beta.5",
"resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.0.0-beta.5.tgz",
"integrity": "sha512-ciWfzNefqWlmzKznCWY9hl+fPP4KlQ0A9MtHbJ/8DpyY+dAM8gDrjufIdxwTgC4szE4EZC3A6ip/BbrqM84GqA==",
"dev": true,
"optional": true,
"requires": {
"@types/mini-css-extract-plugin": "^0.9.1",
"chalk": "^3.0.0",
"hash-sum": "^2.0.0",
"loader-utils": "^1.2.3",
"merge-source-map": "^1.1.0",
"source-map": "^0.6.1"
},
"dependencies": {
"ansi-styles": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
"integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
"dev": true,
"optional": true,
"requires": {
"@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"optional": true
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true,
"optional": true
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-ls": { "vue-ls": {
"version": "3.2.1", "version": "3.2.1",
"resolved": "https://registry.npmjs.org/vue-ls/-/vue-ls-3.2.1.tgz", "resolved": "https://registry.npmjs.org/vue-ls/-/vue-ls-3.2.1.tgz",

View File

@ -9,7 +9,7 @@
"test:unit": "vue-cli-service test:unit" "test:unit": "vue-cli-service test:unit"
}, },
"dependencies": { "dependencies": {
"ant-design-vue": "^1.6.4", "ant-design-vue": "^1.6.5",
"axios": "^0.19.2", "axios": "^0.19.2",
"enquire.js": "^2.1.6", "enquire.js": "^2.1.6",
"filepond": "^4.19.2", "filepond": "^4.19.2",

View File

@ -57,9 +57,9 @@
</div> </div>
<a-divider class="divider-transparent" /> <a-divider class="divider-transparent" />
<div class="bottom-control"> <div class="bottom-control">
<a-space>
<a-button <a-button
type="dashed" type="dashed"
class="mr-2"
v-if="isChooseAvatar" v-if="isChooseAvatar"
@click="handleSelectGravatar" @click="handleSelectGravatar"
>使用 Gravatar</a-button> >使用 Gravatar</a-button>
@ -67,6 +67,7 @@
@click="handleShowUploadModal" @click="handleShowUploadModal"
type="primary" type="primary"
>上传附件</a-button> >上传附件</a-button>
</a-space>
</div> </div>
</a-drawer> </a-drawer>

View File

@ -49,7 +49,8 @@ import {
Timeline, Timeline,
Steps, Steps,
Empty, Empty,
Result Result,
Space
} from 'ant-design-vue' } from 'ant-design-vue'
Vue.use(Anchor) Vue.use(Anchor)
@ -100,6 +101,7 @@ Vue.use(Timeline)
Vue.use(Steps) Vue.use(Steps)
Vue.use(Empty) Vue.use(Empty)
Vue.use(Result) Vue.use(Result)
Vue.use(Space)
Vue.prototype.$message = message Vue.prototype.$message = message
Vue.prototype.$notification = notification Vue.prototype.$notification = notification

View File

@ -74,12 +74,13 @@
:sm="24" :sm="24"
> >
<span class="table-page-search-submitButtons"> <span class="table-page-search-submitButtons">
<a-space>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
@click="handleQuery()" @click="handleQuery()"
>查询</a-button> >查询</a-button>
<a-button @click="handleResetParam()"></a-button> <a-button @click="handleResetParam()"></a-button>
</a-space>
</span> </span>
</a-col> </a-col>
</a-row> </a-row>

View File

@ -126,6 +126,7 @@
</a-row> </a-row>
<a-divider class="divider-transparent" /> <a-divider class="divider-transparent" />
<div class="bottom-control"> <div class="bottom-control">
<a-space>
<a-popconfirm <a-popconfirm
title="你确定要添加到图库?" title="你确定要添加到图库?"
@confirm="handleAddToPhoto" @confirm="handleAddToPhoto"
@ -135,7 +136,6 @@
> >
<a-button <a-button
type="dashed" type="dashed"
class="mr-2"
>添加到图库</a-button> >添加到图库</a-button>
</a-popconfirm> </a-popconfirm>
<a-popconfirm <a-popconfirm
@ -154,6 +154,7 @@
erroredText="删除失败" erroredText="删除失败"
></ReactiveButton> ></ReactiveButton>
</a-popconfirm> </a-popconfirm>
</a-space>
</div> </div>
</a-drawer> </a-drawer>
</template> </template>

View File

@ -98,15 +98,14 @@
</a-row> </a-row>
<a-divider class="divider-transparent" /> <a-divider class="divider-transparent" />
<div class="bottom-control"> <div class="bottom-control">
<a-space>
<a-button <a-button
type="dashed" type="dashed"
class="mr-2"
@click="handleEditComment" @click="handleEditComment"
v-if="!editable" v-if="!editable"
>编辑</a-button> >编辑</a-button>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
@click="handleUpdateComment" @click="handleUpdateComment"
v-if="editable" v-if="editable"
>保存</a-button> >保存</a-button>
@ -117,6 +116,7 @@
> >
<a-button type="danger">加入黑名单</a-button> <a-button type="danger">加入黑名单</a-button>
</a-popconfirm> </a-popconfirm>
</a-space>
</div> </div>
</a-drawer> </a-drawer>
</template> </template>

View File

@ -43,12 +43,13 @@
:sm="24" :sm="24"
> >
<span class="table-page-search-submitButtons"> <span class="table-page-search-submitButtons">
<a-space>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
@click="handleQuery()" @click="handleQuery()"
>查询</a-button> >查询</a-button>
<a-button @click="handleResetParam()"></a-button> <a-button @click="handleResetParam()"></a-button>
</a-space>
</span> </span>
</a-col> </a-col>
</a-row> </a-row>

View File

@ -207,18 +207,17 @@
v-if="themeConfigurations.length>0" v-if="themeConfigurations.length>0"
class="w-full" class="w-full"
> >
<a-space>
<a-button <a-button
v-if="!this.isMobile() && theme.activated && viewMode" v-if="!this.isMobile() && theme.activated && viewMode"
type="primary" type="primary"
@click="toggleViewMode" @click="toggleViewMode"
class="mr-2"
ghost ghost
>普通模式</a-button> >普通模式</a-button>
<a-button <a-button
v-else-if="!this.isMobile() && theme.activated && !viewMode" v-else-if="!this.isMobile() && theme.activated && !viewMode"
type="dashed" type="dashed"
@click="toggleViewMode" @click="toggleViewMode"
class="mr-2"
>预览模式</a-button> >预览模式</a-button>
<ReactiveButton <ReactiveButton
type="primary" type="primary"
@ -230,6 +229,7 @@
loadedText="保存成功" loadedText="保存成功"
erroredText="保存失败" erroredText="保存失败"
></ReactiveButton> ></ReactiveButton>
</a-space>
</footer-tool-bar> </footer-tool-bar>
</a-drawer> </a-drawer>
</template> </template>

View File

@ -43,9 +43,9 @@
<AttachmentDrawer v-model="attachmentDrawerVisible" /> <AttachmentDrawer v-model="attachmentDrawerVisible" />
<footer-tool-bar :style="{ width: isSideMenu() && isDesktop() ? `calc(100% - ${sidebarOpened ? 256 : 80}px)` : '100%'}"> <footer-tool-bar :style="{ width: isSideMenu() && isDesktop() ? `calc(100% - ${sidebarOpened ? 256 : 80}px)` : '100%'}">
<a-space>
<ReactiveButton <ReactiveButton
type="danger" type="danger"
class="mr-2"
@click="handleSaveDraft(false)" @click="handleSaveDraft(false)"
@callback="draftSavederrored = false" @callback="draftSavederrored = false"
:loading="draftSaving" :loading="draftSaving"
@ -56,18 +56,17 @@
></ReactiveButton> ></ReactiveButton>
<a-button <a-button
@click="handlePreview" @click="handlePreview"
class="mr-2"
:loading="previewSaving" :loading="previewSaving"
>预览</a-button> >预览</a-button>
<a-button <a-button
type="primary" type="primary"
@click="postSettingVisible = true" @click="postSettingVisible = true"
class="mr-2"
>发布</a-button> >发布</a-button>
<a-button <a-button
type="dashed" type="dashed"
@click="attachmentDrawerVisible = true" @click="attachmentDrawerVisible = true"
>附件库</a-button> >附件库</a-button>
</a-space>
</footer-tool-bar> </footer-tool-bar>
</div> </div>
</template> </template>
@ -110,9 +109,9 @@ export default {
beforeRouteEnter(to, from, next) { beforeRouteEnter(to, from, next) {
// Get post id from query // Get post id from query
const postId = to.query.postId const postId = to.query.postId
next(vm => { next((vm) => {
if (postId) { if (postId) {
postApi.get(postId).then(response => { postApi.get(postId).then((response) => {
const post = response.data.data const post = response.data.data
vm.postToStage = post vm.postToStage = post
vm.selectedTagIds = post.tagIds vm.selectedTagIds = post.tagIds
@ -148,7 +147,7 @@ export default {
} else { } else {
this.$confirm({ this.$confirm({
title: '当前页面数据未保存,确定要离开吗?', title: '当前页面数据未保存,确定要离开吗?',
content: h => <div style="color:red;">如果离开当面页面你的数据很可能会丢失</div>, content: (h) => <div style="color:red;">如果离开当面页面你的数据很可能会丢失</div>,
onOk() { onOk() {
next() next()
}, },
@ -210,7 +209,7 @@ export default {
.catch(() => { .catch(() => {
this.draftSavederrored = true this.draftSavederrored = true
}) })
.then(response => { .then((response) => {
this.postToStage = response.data.data this.postToStage = response.data.data
}) })
.finally(() => { .finally(() => {
@ -226,7 +225,7 @@ export default {
.catch(() => { .catch(() => {
this.draftSavederrored = true this.draftSavederrored = true
}) })
.then(response => { .then((response) => {
this.postToStage = response.data.data this.postToStage = response.data.data
}) })
.finally(() => { .finally(() => {
@ -244,11 +243,11 @@ export default {
this.previewSaving = true this.previewSaving = true
if (this.postToStage.id) { if (this.postToStage.id) {
// Update the post // Update the post
postApi.update(this.postToStage.id, this.postToStage, false).then(response => { postApi.update(this.postToStage.id, this.postToStage, false).then((response) => {
this.$log.debug('Updated post', response.data.data) this.$log.debug('Updated post', response.data.data)
postApi postApi
.preview(this.postToStage.id) .preview(this.postToStage.id)
.then(response => { .then((response) => {
window.open(response.data, '_blank') window.open(response.data, '_blank')
}) })
.finally(() => { .finally(() => {
@ -259,12 +258,12 @@ export default {
}) })
} else { } else {
// Create the post // Create the post
postApi.create(this.postToStage, false).then(response => { postApi.create(this.postToStage, false).then((response) => {
this.$log.debug('Created post', response.data.data) this.$log.debug('Created post', response.data.data)
this.postToStage = response.data.data this.postToStage = response.data.data
postApi postApi
.preview(this.postToStage.id) .preview(this.postToStage.id)
.then(response => { .then((response) => {
window.open(response.data, '_blank') window.open(response.data, '_blank')
}) })
.finally(() => { .finally(() => {

View File

@ -64,12 +64,13 @@
:sm="24" :sm="24"
> >
<span class="table-page-search-submitButtons"> <span class="table-page-search-submitButtons">
<a-space>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
@click="handleQuery()" @click="handleQuery()"
>查询</a-button> >查询</a-button>
<a-button @click="handleResetParam()"></a-button> <a-button @click="handleResetParam()"></a-button>
</a-space>
</span> </span>
</a-col> </a-col>
</a-row> </a-row>

View File

@ -105,15 +105,14 @@
/> />
</a-form-item> </a-form-item>
<a-form-item> <a-form-item>
<a-space>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
v-if="categoryFormVisible" v-if="categoryFormVisible"
@click="handlerCreateCategory" @click="handlerCreateCategory"
>保存</a-button> >保存</a-button>
<a-button <a-button
type="dashed" type="dashed"
class="mr-2"
v-if="!categoryFormVisible" v-if="!categoryFormVisible"
@click="categoryFormVisible = true" @click="categoryFormVisible = true"
>新增</a-button> >新增</a-button>
@ -121,6 +120,7 @@
v-if="categoryFormVisible" v-if="categoryFormVisible"
@click="categoryFormVisible = false" @click="categoryFormVisible = false"
>取消</a-button> >取消</a-button>
</a-space>
</a-form-item> </a-form-item>
</a-form> </a-form>
</div> </div>
@ -276,15 +276,14 @@
</a-drawer> </a-drawer>
<div class="bottom-control"> <div class="bottom-control">
<a-space>
<a-button <a-button
class="mr-2"
type="dashed" type="dashed"
@click="advancedVisible = true" @click="advancedVisible = true"
>高级</a-button> >高级</a-button>
<ReactiveButton <ReactiveButton
type="danger" type="danger"
v-if="saveDraftButton" v-if="saveDraftButton"
class="mr-2"
@click="handleDraftClick" @click="handleDraftClick"
@callback="handleSavedCallback" @callback="handleSavedCallback"
:loading="draftSaving" :loading="draftSaving"
@ -302,6 +301,7 @@
:loadedText="`${selectedPost.id?'保存':'发布'}成功`" :loadedText="`${selectedPost.id?'保存':'发布'}成功`"
:erroredText="`${selectedPost.id?'保存':'发布'}失败`" :erroredText="`${selectedPost.id?'保存':'发布'}失败`"
></ReactiveButton> ></ReactiveButton>
</a-space>
</div> </div>
</a-drawer> </a-drawer>
</template> </template>

View File

@ -38,9 +38,9 @@
<AttachmentDrawer v-model="attachmentDrawerVisible" /> <AttachmentDrawer v-model="attachmentDrawerVisible" />
<footer-tool-bar :style="{ width: isSideMenu() && isDesktop() ? `calc(100% - ${sidebarOpened ? 256 : 80}px)` : '100%'}"> <footer-tool-bar :style="{ width: isSideMenu() && isDesktop() ? `calc(100% - ${sidebarOpened ? 256 : 80}px)` : '100%'}">
<a-space>
<ReactiveButton <ReactiveButton
type="danger" type="danger"
class="mr-2"
@click="handleSaveDraft(false)" @click="handleSaveDraft(false)"
@callback="draftSavederrored = false" @callback="draftSavederrored = false"
:loading="draftSaving" :loading="draftSaving"
@ -51,18 +51,17 @@
></ReactiveButton> ></ReactiveButton>
<a-button <a-button
@click="handlePreview" @click="handlePreview"
class="mr-2"
:loading="previewSaving" :loading="previewSaving"
>预览</a-button> >预览</a-button>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
@click="sheetSettingVisible = true" @click="sheetSettingVisible = true"
>发布</a-button> >发布</a-button>
<a-button <a-button
type="dashed" type="dashed"
@click="attachmentDrawerVisible = true" @click="attachmentDrawerVisible = true"
>附件库</a-button> >附件库</a-button>
</a-space>
</footer-tool-bar> </footer-tool-bar>
</div> </div>
</template> </template>

View File

@ -192,15 +192,14 @@
</a-drawer> </a-drawer>
<div class="bottom-control"> <div class="bottom-control">
<a-space>
<a-button <a-button
class="mr-2"
type="dashed" type="dashed"
@click="advancedVisible = true" @click="advancedVisible = true"
>高级</a-button> >高级</a-button>
<ReactiveButton <ReactiveButton
type="danger" type="danger"
v-if="saveDraftButton" v-if="saveDraftButton"
class="mr-2"
@click="handleDraftClick" @click="handleDraftClick"
@callback="handleSavedCallback" @callback="handleSavedCallback"
:loading="draftSaving" :loading="draftSaving"
@ -218,6 +217,7 @@
:loadedText="`${selectedSheet.id?'保存':'发布'}成功`" :loadedText="`${selectedSheet.id?'保存':'发布'}成功`"
:erroredText="`${selectedSheet.id?'保存':'发布'}失败`" :erroredText="`${selectedSheet.id?'保存':'发布'}失败`"
></ReactiveButton> ></ReactiveButton>
</a-space>
</div> </div>
</a-drawer> </a-drawer>
</template> </template>

View File

@ -43,12 +43,13 @@
:sm="24" :sm="24"
> >
<span class="table-page-search-submitButtons"> <span class="table-page-search-submitButtons">
<a-space>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
@click="handleQuery()" @click="handleQuery()"
>查询</a-button> >查询</a-button>
<a-button @click="resetParam()"></a-button> <a-button @click="resetParam()"></a-button>
</a-space>
</span> </span>
</a-col> </a-col>
</a-row> </a-row>

View File

@ -46,12 +46,13 @@
:sm="24" :sm="24"
> >
<span class="table-page-search-submitButtons"> <span class="table-page-search-submitButtons">
<a-space>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
@click="handleQuery()" @click="handleQuery()"
>查询</a-button> >查询</a-button>
<a-button @click="resetParam()"></a-button> <a-button @click="resetParam()"></a-button>
</a-space>
</span> </span>
</a-col> </a-col>
</a-row> </a-row>
@ -289,15 +290,14 @@
/> />
<a-divider class="divider-transparent" /> <a-divider class="divider-transparent" />
<div class="bottom-control"> <div class="bottom-control">
<a-space>
<a-button <a-button
type="dashed" type="dashed"
class="mr-2"
@click="editable = true" @click="editable = true"
v-if="!editable" v-if="!editable"
>编辑</a-button> >编辑</a-button>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
@click="handleCreateOrUpdate" @click="handleCreateOrUpdate"
v-else v-else
>保存</a-button> >保存</a-button>
@ -309,6 +309,7 @@
> >
<a-button type="danger">删除</a-button> <a-button type="danger">删除</a-button>
</a-popconfirm> </a-popconfirm>
</a-space>
</div> </div>
</a-drawer> </a-drawer>
</div> </div>

View File

@ -56,9 +56,9 @@
</a-row> </a-row>
<a-divider class="divider-transparent" /> <a-divider class="divider-transparent" />
<div class="bottom-control"> <div class="bottom-control">
<a-space>
<ReactiveButton <ReactiveButton
type="primary" type="primary"
class="mr-2"
icon="download" icon="download"
@click="handleBackupClick" @click="handleBackupClick"
@callback="handleBackupedCallback" @callback="handleBackupedCallback"
@ -74,6 +74,7 @@
:loading="loading" :loading="loading"
@click="handleListBackups" @click="handleListBackups"
>刷新</a-button> >刷新</a-button>
</a-space>
</div> </div>
</a-drawer> </a-drawer>
</template> </template>

View File

@ -56,9 +56,9 @@
</a-row> </a-row>
<a-divider class="divider-transparent" /> <a-divider class="divider-transparent" />
<div class="bottom-control"> <div class="bottom-control">
<a-space>
<ReactiveButton <ReactiveButton
type="primary" type="primary"
class="mr-2"
icon="download" icon="download"
@click="handleExportClick" @click="handleExportClick"
@callback="handleBackupedCallback" @callback="handleBackupedCallback"
@ -74,6 +74,7 @@
:loading="loading" :loading="loading"
@click="handleListBackups" @click="handleListBackups"
>刷新</a-button> >刷新</a-button>
</a-space>
</div> </div>
</a-drawer> </a-drawer>
</template> </template>

View File

@ -15,6 +15,7 @@
</a-spin> </a-spin>
</a-form-item> </a-form-item>
<a-form-item> <a-form-item>
<a-space>
<a-popconfirm <a-popconfirm
:title="'修改配置文件之后需重启才能生效,是否继续?'" :title="'修改配置文件之后需重启才能生效,是否继续?'"
okText="确定" okText="确定"
@ -23,7 +24,6 @@
> >
<a-button <a-button
type="primary" type="primary"
class="mr-2"
>保存</a-button> >保存</a-button>
</a-popconfirm> </a-popconfirm>
<a-popconfirm <a-popconfirm
@ -34,6 +34,7 @@
> >
<a-button type="danger">重启</a-button> <a-button type="danger">重启</a-button>
</a-popconfirm> </a-popconfirm>
</a-space>
</a-form-item> </a-form-item>
</a-form> </a-form>
</div> </div>

View File

@ -43,12 +43,13 @@
:sm="24" :sm="24"
> >
<span class="table-page-search-submitButtons"> <span class="table-page-search-submitButtons">
<a-space>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
@click="handleQuery()" @click="handleQuery()"
>查询</a-button> >查询</a-button>
<a-button @click="handleResetParam()"></a-button> <a-button @click="handleResetParam()"></a-button>
</a-space>
</span> </span>
</a-col> </a-col>
</a-row> </a-row>

View File

@ -9,11 +9,12 @@
</a-spin> </a-spin>
</a-form-item> </a-form-item>
<a-form-item> <a-form-item>
<a-space>
<a-select <a-select
defaultValue="200" defaultValue="200"
v-model="logLines" v-model="logLines"
@change="handleLoadLogsLines" @change="handleLoadLogsLines"
style="margin-right: 8px;width: 100px" style="width: 100px"
> >
<a-select-option value="200">200 </a-select-option> <a-select-option value="200">200 </a-select-option>
<a-select-option value="500">500 </a-select-option> <a-select-option value="500">500 </a-select-option>
@ -22,13 +23,13 @@
</a-select> </a-select>
<a-button <a-button
type="primary" type="primary"
class="mr-2"
@click="handleLoadLogsLines()" @click="handleLoadLogsLines()"
>刷新</a-button> >刷新</a-button>
<a-button <a-button
type="dashed" type="dashed"
@click="handleDownloadLogFile()" @click="handleDownloadLogFile()"
>下载</a-button> >下载</a-button>
</a-space>
</a-form-item> </a-form-item>
</a-form> </a-form>
</template> </template>