style: update prettier format rules
This commit is contained in:
@@ -36,8 +36,7 @@
|
||||
class="w-300 flex-shrink-0 mt-10 mb-10 cursor-pointer"
|
||||
hover:card-shadow
|
||||
title="Vue Naive Admin"
|
||||
size="small"
|
||||
>
|
||||
size="small">
|
||||
<p op-60>一个基于 Vue3.0、Vite、Naive UI 的轻量级后台管理模板</p>
|
||||
</n-card>
|
||||
<div w-300 h-0></div>
|
||||
|
@@ -5,8 +5,7 @@
|
||||
v-model="post.title"
|
||||
class="flex-1 pt-15 pb-15 mr-20 text-20 font-bold color-primary"
|
||||
type="text"
|
||||
placeholder="输入文章标题..."
|
||||
/>
|
||||
placeholder="输入文章标题..." />
|
||||
<n-button type="primary" style="width: 80px" :loading="btnLoading" @click="handleSavePost">保存</n-button>
|
||||
</div>
|
||||
<MdEditor v-model="post.content" style="height: calc(100vh - 220px)" />
|
||||
|
@@ -11,8 +11,7 @@
|
||||
:columns="columns"
|
||||
:pagination="pagination"
|
||||
:row-key="(row) => row.id"
|
||||
@update:checked-row-keys="handleCheck"
|
||||
/>
|
||||
@update:checked-row-keys="handleCheck" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@@ -16,8 +16,7 @@
|
||||
autofocus
|
||||
class="text-16 items-center h-50 pl-10"
|
||||
placeholder="admin"
|
||||
:maxlength="20"
|
||||
>
|
||||
:maxlength="20">
|
||||
</n-input>
|
||||
</div>
|
||||
<div mt-30 w-full max-w-360>
|
||||
@@ -28,8 +27,7 @@
|
||||
show-password-on="mousedown"
|
||||
placeholder="123456"
|
||||
:maxlength="20"
|
||||
@keydown.enter="handleLogin"
|
||||
/>
|
||||
@keydown.enter="handleLogin" />
|
||||
</div>
|
||||
|
||||
<div mt-20 w-full max-w-360>
|
||||
|
Reference in New Issue
Block a user