mirror of
https://github.com/rustfs/console.git
synced 2026-09-19 01:47:44 +08:00
style: 调整弹窗中表单样式
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user