perf: 优化文章草稿功能
This commit is contained in:
parent
b0b00af22b
commit
e41a4ff7f8
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "jmal-cloud-view",
|
||||
"version": "2.3.0",
|
||||
"version": "2.3.1",
|
||||
"description": "jmalcloud",
|
||||
"author": "Jmal <zhushilun084@163.com>",
|
||||
"license": "MIT",
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
@ -35,7 +35,6 @@ module.exports = {
|
||||
lintOnSave: false,
|
||||
productionSourceMap: false,
|
||||
devServer: {
|
||||
host: 'imac',
|
||||
port: port,
|
||||
open: false,
|
||||
overlay: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user