perf: 优化文章草稿功能
This commit is contained in:
parent
b0b00af22b
commit
e41a4ff7f8
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "jmal-cloud-view",
|
"name": "jmal-cloud-view",
|
||||||
"version": "2.3.0",
|
"version": "2.3.1",
|
||||||
"description": "jmalcloud",
|
"description": "jmalcloud",
|
||||||
"author": "Jmal <zhushilun084@163.com>",
|
"author": "Jmal <zhushilun084@163.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
@ -260,7 +260,8 @@ export default {
|
|||||||
mark: this.$route.query.id
|
mark: this.$route.query.id
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.data.draft) {
|
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) {
|
if (res.data.release) {
|
||||||
this.currentDarft = true
|
this.currentDarft = true
|
||||||
}
|
}
|
||||||
|
|||||||
@ -35,7 +35,6 @@ module.exports = {
|
|||||||
lintOnSave: false,
|
lintOnSave: false,
|
||||||
productionSourceMap: false,
|
productionSourceMap: false,
|
||||||
devServer: {
|
devServer: {
|
||||||
host: 'imac',
|
|
||||||
port: port,
|
port: port,
|
||||||
open: false,
|
open: false,
|
||||||
overlay: {
|
overlay: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user