From e41a4ff7f8db694af2e5747e6002fc50ce6c2eb7 Mon Sep 17 00:00:00 2001 From: jmal Date: Mon, 22 Aug 2022 11:51:14 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E8=8D=89=E7=A8=BF=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/views/markdown/index.vue | 3 ++- vue.config.js | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 81e8d7a..29d834d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jmal-cloud-view", - "version": "2.3.0", + "version": "2.3.1", "description": "jmalcloud", "author": "Jmal ", "license": "MIT", diff --git a/src/views/markdown/index.vue b/src/views/markdown/index.vue index dbccd7b..3a9ba3e 100644 --- a/src/views/markdown/index.vue +++ b/src/views/markdown/index.vue @@ -260,7 +260,8 @@ export default { mark: this.$route.query.id }).then((res) => { if (res.data.draft) { - this.file = res.data.draft + this.file = JSON.parse(res.data.draft) + console.log('file', this.file) if (res.data.release) { this.currentDarft = true } diff --git a/vue.config.js b/vue.config.js index 898bd8d..38a0190 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,7 +35,6 @@ module.exports = { lintOnSave: false, productionSourceMap: false, devServer: { - host: 'imac', port: port, open: false, overlay: {