refactor: post settings drawer. (#109)

pull/111/head
Ryan Wang 2020-03-20 17:43:37 +08:00 committed by GitHub
parent 9fe04473df
commit 4444f27030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 6 deletions

View File

@ -33,12 +33,6 @@
</template>
<a-input v-model="selectedPost.slug" />
</a-form-item>
<a-form-item label="访问密码:">
<a-input-password
v-model="selectedPost.password"
autocomplete="new-password"
/>
</a-form-item>
<a-form-item label="发表时间:">
<a-date-picker
@ -215,6 +209,20 @@
:visible="advancedVisible"
>
<div class="post-setting-drawer-content">
<div :style="{ marginBottom: '16px' }">
<h3 class="post-setting-drawer-title">加密设置</h3>
<div class="post-setting-drawer-item">
<a-form layout="vertical">
<a-form-item label="访问密码:">
<a-input-password
v-model="selectedPost.password"
autocomplete="new-password"
/>
</a-form-item>
</a-form>
</div>
</div>
<a-divider />
<div :style="{ marginBottom: '16px' }">
<h3 class="post-setting-drawer-title">SEO 设置</h3>
<div class="post-setting-drawer-item">