Skip to content

Commit

Permalink
chore: upgrade dependencies. (halo-dev#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby authored Aug 30, 2020
1 parent eeed76a commit 121776d
Show file tree
Hide file tree
Showing 21 changed files with 435 additions and 371 deletions.
114 changes: 83 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:unit": "vue-cli-service test:unit"
},
"dependencies": {
"ant-design-vue": "^1.6.4",
"ant-design-vue": "^1.6.5",
"axios": "^0.19.2",
"enquire.js": "^2.1.6",
"filepond": "^4.19.2",
Expand Down
21 changes: 11 additions & 10 deletions src/components/Attachment/AttachmentSelectDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,17 @@
</div>
<a-divider class="divider-transparent" />
<div class="bottom-control">
<a-button
type="dashed"
class="mr-2"
v-if="isChooseAvatar"
@click="handleSelectGravatar"
>使用 Gravatar</a-button>
<a-button
@click="handleShowUploadModal"
type="primary"
>上传附件</a-button>
<a-space>
<a-button
type="dashed"
v-if="isChooseAvatar"
@click="handleSelectGravatar"
>使用 Gravatar</a-button>
<a-button
@click="handleShowUploadModal"
type="primary"
>上传附件</a-button>
</a-space>
</div>
</a-drawer>

Expand Down
4 changes: 3 additions & 1 deletion src/core/lazy_lib/components_use.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ import {
Timeline,
Steps,
Empty,
Result
Result,
Space
} from 'ant-design-vue'

Vue.use(Anchor)
Expand Down Expand Up @@ -100,6 +101,7 @@ Vue.use(Timeline)
Vue.use(Steps)
Vue.use(Empty)
Vue.use(Result)
Vue.use(Space)

Vue.prototype.$message = message
Vue.prototype.$notification = notification
Expand Down
13 changes: 7 additions & 6 deletions src/views/attachment/AttachmentList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,13 @@
:sm="24"
>
<span class="table-page-search-submitButtons">
<a-button
type="primary"
class="mr-2"
@click="handleQuery()"
>查询</a-button>
<a-button @click="handleResetParam()">重置</a-button>
<a-space>
<a-button
type="primary"
@click="handleQuery()"
>查询</a-button>
<a-button @click="handleResetParam()">重置</a-button>
</a-space>
</span>
</a-col>
</a-row>
Expand Down
57 changes: 29 additions & 28 deletions src/views/attachment/components/AttachmentDetailDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,34 +126,35 @@
</a-row>
<a-divider class="divider-transparent" />
<div class="bottom-control">
<a-popconfirm
title="你确定要添加到图库?"
@confirm="handleAddToPhoto"
okText="确定"
cancelText="取消"
v-if="addToPhoto"
>
<a-button
type="dashed"
class="mr-2"
>添加到图库</a-button>
</a-popconfirm>
<a-popconfirm
title="你确定要删除该附件?"
@confirm="handleDeleteAttachment"
okText="确定"
cancelText="取消"
>
<ReactiveButton
type="danger"
@callback="handleDeletedCallback"
:loading="deleting"
:errored="deleteErrored"
text="删除"
loadedText="删除成功"
erroredText="删除失败"
></ReactiveButton>
</a-popconfirm>
<a-space>
<a-popconfirm
title="你确定要添加到图库?"
@confirm="handleAddToPhoto"
okText="确定"
cancelText="取消"
v-if="addToPhoto"
>
<a-button
type="dashed"
>添加到图库</a-button>
</a-popconfirm>
<a-popconfirm
title="你确定要删除该附件?"
@confirm="handleDeleteAttachment"
okText="确定"
cancelText="取消"
>
<ReactiveButton
type="danger"
@callback="handleDeletedCallback"
:loading="deleting"
:errored="deleteErrored"
text="删除"
loadedText="删除成功"
erroredText="删除失败"
></ReactiveButton>
</a-popconfirm>
</a-space>
</div>
</a-drawer>
</template>
Expand Down
38 changes: 19 additions & 19 deletions src/views/comment/components/CommentDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,25 +98,25 @@
</a-row>
<a-divider class="divider-transparent" />
<div class="bottom-control">
<a-button
type="dashed"
class="mr-2"
@click="handleEditComment"
v-if="!editable"
>编辑</a-button>
<a-button
type="primary"
class="mr-2"
@click="handleUpdateComment"
v-if="editable"
>保存</a-button>
<a-popconfirm
title="你确定要将此评论者加入黑名单?"
okText="确定"
cancelText="取消"
>
<a-button type="danger">加入黑名单</a-button>
</a-popconfirm>
<a-space>
<a-button
type="dashed"
@click="handleEditComment"
v-if="!editable"
>编辑</a-button>
<a-button
type="primary"
@click="handleUpdateComment"
v-if="editable"
>保存</a-button>
<a-popconfirm
title="你确定要将此评论者加入黑名单?"
okText="确定"
cancelText="取消"
>
<a-button type="danger">加入黑名单</a-button>
</a-popconfirm>
</a-space>
</div>
</a-drawer>
</template>
Expand Down
13 changes: 7 additions & 6 deletions src/views/comment/components/CommentTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@
:sm="24"
>
<span class="table-page-search-submitButtons">
<a-button
type="primary"
class="mr-2"
@click="handleQuery()"
>查询</a-button>
<a-button @click="handleResetParam()">重置</a-button>
<a-space>
<a-button
type="primary"
@click="handleQuery()"
>查询</a-button>
<a-button @click="handleResetParam()">重置</a-button>
</a-space>
</span>
</a-col>
</a-row>
Expand Down
46 changes: 23 additions & 23 deletions src/views/interface/components/ThemeSettingDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,29 +207,29 @@
v-if="themeConfigurations.length>0"
class="w-full"
>
<a-button
v-if="!this.isMobile() && theme.activated && viewMode"
type="primary"
@click="toggleViewMode"
class="mr-2"
ghost
>普通模式</a-button>
<a-button
v-else-if="!this.isMobile() && theme.activated && !viewMode"
type="dashed"
@click="toggleViewMode"
class="mr-2"
>预览模式</a-button>
<ReactiveButton
type="primary"
@click="handleSaveSettings"
@callback="saveErrored=false"
:loading="saving"
:errored="saveErrored"
text="保存"
loadedText="保存成功"
erroredText="保存失败"
></ReactiveButton>
<a-space>
<a-button
v-if="!this.isMobile() && theme.activated && viewMode"
type="primary"
@click="toggleViewMode"
ghost
>普通模式</a-button>
<a-button
v-else-if="!this.isMobile() && theme.activated && !viewMode"
type="dashed"
@click="toggleViewMode"
>预览模式</a-button>
<ReactiveButton
type="primary"
@click="handleSaveSettings"
@callback="saveErrored=false"
:loading="saving"
:errored="saveErrored"
text="保存"
loadedText="保存成功"
erroredText="保存失败"
></ReactiveButton>
</a-space>
</footer-tool-bar>
</a-drawer>
</template>
Expand Down
Loading

0 comments on commit 121776d

Please sign in to comment.