From 72f653dcc7f6eef117299a90745a96195d62a3e9 Mon Sep 17 00:00:00 2001 From: Pan Date: Thu, 30 Nov 2017 16:55:46 +0800 Subject: [PATCH] perf:refine article demo --- src/styles/element-ui.scss | 4 ++-- src/views/form/components/ArticleDetail.vue | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss index 9ca1bb0f..28e6180d 100644 --- a/src/styles/element-ui.scss +++ b/src/styles/element-ui.scss @@ -18,8 +18,8 @@ .small-padding { .cell { - padding-left: 8px; - padding-right: 8px; + padding-left: 5px; + padding-right: 5px; } } diff --git a/src/views/form/components/ArticleDetail.vue b/src/views/form/components/ArticleDetail.vue index 60379fa6..3f12273e 100644 --- a/src/views/form/components/ArticleDetail.vue +++ b/src/views/form/components/ArticleDetail.vue @@ -133,6 +133,7 @@ import { fetchArticle } from '@/api/article' import { userSearch } from '@/api/remoteSearch' const defaultForm = { + status: 'draft', title: '', // 文章题目 content: '', // 文章内容 content_short: '', // 文章摘要