style: 调整弹窗中表单样式

This commit is contained in:
cxymds
2024-12-12 22:06:36 +08:00
parent 26350e0046
commit 6f8dbb84d9
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -77,10 +77,10 @@ async function submitForm() {
<n-form
label-placement="left"
:model="formModel"
label-align="left"
:label-width="130">
label-align="right"
:label-width="90">
<n-grid :cols="24" :x-gap="18">
<n-form-item-grid-item :span="24" label="Access Key策略" path="policy">
<n-form-item-grid-item :span="24" label="Access Key" path="policy">
<n-input
v-model:value="formModel.policy"
type="textarea"
+1 -1
View File
@@ -72,7 +72,7 @@ async function submitForm() {
<n-form
label-placement="left"
:model="formModel"
label-align="left"
label-align="right"
:label-width="130">
<n-grid :cols="24" :x-gap="18">
<n-form-item-grid-item :span="24" label="Access Key" path="accesskey">
+4 -4
View File
@@ -48,19 +48,19 @@ async function submitForm() {
v-model:show="visible"
:mask-closable="false"
preset="card"
title="修改策略"
title="策略原文"
class="w-1/2"
:segmented="{
content: true,
action: true
}">
<n-form
label-placement="left"
label-placement="top"
:model="formModel"
label-align="left"
:label-width="130">
:label-width="100">
<n-grid :cols="24" :x-gap="18">
<n-form-item-grid-item :span="24" label="策略原文" path="policy">
<n-form-item-grid-item :span="24" path="policy">
<JsonEditorVue v-model="formModel.policy" />
</n-form-item-grid-item>
</n-grid>
+1 -1
View File
@@ -13,7 +13,7 @@
label-placement="left"
:model="formModel"
label-align="left"
:label-width="130">
:label-width="100">
<n-grid :cols="24" :x-gap="18">
<n-form-item-grid-item :span="24" label="策略名称" path="name">
<n-input v-model:value="formModel.name" />