From eb7ceab7e645d9724c5e82170580a3f075b83330 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Fri, 21 Jun 2019 23:17:00 +0800 Subject: [PATCH] #23 --- .../components/AttachmentDetailDrawer.vue | 22 ++++++++-------- src/views/system/About.vue | 25 ++++++++++++++++++- 2 files changed, 35 insertions(+), 12 deletions(-) diff --git a/src/views/attachment/components/AttachmentDetailDrawer.vue b/src/views/attachment/components/AttachmentDetailDrawer.vue index bfb8df23..9ff754c2 100644 --- a/src/views/attachment/components/AttachmentDetailDrawer.vue +++ b/src/views/attachment/components/AttachmentDetailDrawer.vue @@ -91,11 +91,11 @@ 普通链接: - - + + @@ -105,11 +105,11 @@ ![{{ attachment.name }}]({{ attachment.path }}) Markdown 格式: - - + + @@ -118,7 +118,7 @@ - +
+ { this.updating = false }) + }, + handleCopyEnvironments() { + const text = `Server 版本:${this.environments.version} +Admin 版本:${this.adminVersion} +数据库:${this.environments.database} +运行模式:${this.environments.mode}` + this.$copyText(text) + .then(message => { + console.log('copy', message) + this.$message.success('复制成功!') + }) + .catch(err => { + console.log('copy.err', err) + this.$message.error('复制失败!') + }) } } }