diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index 3626e3bf..2e61e065 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -144,7 +144,7 @@ @@ -193,7 +193,7 @@ export default { } }, model: { - prop: 'visiable', + prop: 'visible', event: 'close' }, props: { @@ -206,7 +206,7 @@ export default { required: false, default: false }, - visiable: { + visible: { type: Boolean, required: false, default: true @@ -221,7 +221,7 @@ export default { } }, watch: { - visiable: function(newValue, oldValue) { + visible: function(newValue, oldValue) { this.$log.debug('old value', oldValue) this.$log.debug('new value', newValue) if (newValue) { diff --git a/src/views/attachment/components/AttachmentDrawer.vue b/src/views/attachment/components/AttachmentDrawer.vue index bc052d1f..1b676b0b 100644 --- a/src/views/attachment/components/AttachmentDrawer.vue +++ b/src/views/attachment/components/AttachmentDrawer.vue @@ -4,7 +4,7 @@ title="附件库" :width="isMobile()?'100%':'460'" closable - :visible="visiable" + :visible="visible" destroyOnClose @close="onClose" > @@ -51,7 +51,7 @@ @@ -91,11 +91,11 @@ export default { name: 'AttachmentSelectDrawer', mixins: [mixin, mixinDevice], model: { - prop: 'visiable', + prop: 'visible', event: 'close' }, props: { - visiable: { + visible: { type: Boolean, required: false, default: false @@ -134,7 +134,7 @@ export default { this.loadAttachments() }, watch: { - visiable: function(newValue, oldValue) { + visible: function(newValue, oldValue) { if (newValue) { this.loadSkeleton() } diff --git a/src/views/comment/components/CommentDetail.vue b/src/views/comment/components/CommentDetail.vue index dd11a024..93c8601b 100644 --- a/src/views/comment/components/CommentDetail.vue +++ b/src/views/comment/components/CommentDetail.vue @@ -3,7 +3,7 @@ title="评论详情" :width="isMobile()?'100%':'460'" closable - :visible="visiable" + :visible="visible" destroyOnClose @close="onClose" > @@ -142,7 +142,7 @@ export default { } }, model: { - prop: 'visiable', + prop: 'visible', event: 'close' }, props: { @@ -150,7 +150,7 @@ export default { type: Object, required: true }, - visiable: { + visible: { type: Boolean, required: false, default: true @@ -169,7 +169,7 @@ export default { this.loadOptions() }, watch: { - visiable: function(newValue, oldValue) { + visible: function(newValue, oldValue) { this.$log.debug('old value', oldValue) this.$log.debug('new value', newValue) if (newValue) { diff --git a/src/views/dashboard/Dashboard.vue b/src/views/dashboard/Dashboard.vue index bb1de14c..794ab3ae 100644 --- a/src/views/dashboard/Dashboard.vue +++ b/src/views/dashboard/Dashboard.vue @@ -271,9 +271,9 @@ title="操作日志" :width="isMobile()?'100%':'460'" closable - :visible="logDrawerVisiable" + :visible="logDrawerVisible" destroyOnClose - @close="()=>this.logDrawerVisiable = false" + @close="()=>this.logDrawerVisible = false" > 启用 -
+
- - - - - - - - - - {{ themeProperty.author.name }} - - - - - - -
- - - - - - - - {{ option.label }} - - - {{ option.label }} - - - - - - - - -
-
-
-
- - 保存 - 附件库 - + - -
+ diff --git a/src/views/post/components/PostSetting.vue b/src/views/post/components/PostSetting.vue index ab80d5a0..2188f46a 100644 --- a/src/views/post/components/PostSetting.vue +++ b/src/views/post/components/PostSetting.vue @@ -4,9 +4,9 @@ :width="isMobile()?'100%':'460'" placement="right" closable - @close="onClose" destroyOnClose - :visible="visiable" + @close="onClose" + :visible="visible" > { this.comments = response.data.data.content - this.commentVisiable = true + this.commentVisible = true }) }, handleCommentReplyClick(comment) { diff --git a/src/views/sheet/internal/PhotoList.vue b/src/views/sheet/internal/PhotoList.vue index e747f049..7a17aaf8 100644 --- a/src/views/sheet/internal/PhotoList.vue +++ b/src/views/sheet/internal/PhotoList.vue @@ -104,7 +104,7 @@ title="图片详情" :width="isMobile()?'100%':'460'" closable - :visible="drawerVisiable" + :visible="drawerVisible" destroyOnClose @close="onDrawerClose" > @@ -283,7 +283,7 @@ export default { mixins: [mixin, mixinDevice], data() { return { - drawerVisiable: false, + drawerVisible: false, drawerLoading: false, listLoading: true, thumDrawerVisible: false, @@ -338,7 +338,7 @@ export default { }, showDrawer(photo) { this.photo = photo - this.drawerVisiable = true + this.drawerVisible = true }, handlePaginationChange(page, size) { this.$log.debug(`Current: ${page}, PageSize: ${size}`) @@ -348,7 +348,7 @@ export default { }, handleAddClick() { this.editable = true - this.drawerVisiable = true + this.drawerVisible = true }, handleEditClick() { this.editable = true @@ -372,7 +372,7 @@ export default { this.loadPhotos() }, onDrawerClose() { - this.drawerVisiable = false + this.drawerVisible = false this.photo = {} this.editable = false } diff --git a/src/views/system/About.vue b/src/views/system/About.vue index bdd5f754..11ab4176 100644 --- a/src/views/system/About.vue +++ b/src/views/system/About.vue @@ -262,7 +262,7 @@ UA 信息:${navigator.userAgent}` return } const title = '新版本提醒' - const content = '检测到新版本:' + data.name + ',点击下方按钮下载最新版本。' + const content = '检测到新版本:' + data.name + ',点击下方按钮查看最新版本。' const url = data.html_url this.$notification.open({ message: title, diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 2e620fa7..a635a3df 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -61,7 +61,7 @@ @@ -90,7 +90,7 @@ export default { return { username: null, password: null, - apiModifyVisiable: false, + apiModifyVisible: false, defaultApiBefore: window.location.protocol + '//', apiUrl: window.location.host } @@ -131,14 +131,14 @@ export default { }, handleApiModifyModalOpen() { this.apiUrl = this.defaultApiUrl - this.apiModifyVisiable = true + this.apiModifyVisible = true }, handleApiModifyOk() { this.setApiUrl(this.apiUrl) - this.apiModifyVisiable = false + this.apiModifyVisible = false }, handleApiModifyCancel() { - this.apiModifyVisiable = false + this.apiModifyVisible = false }, handleApiUrlRestore() { this.restoreApiUrl()