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: {