Skip to content

Commit

Permalink
style: 调整描述字段样式
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Nov 27, 2023
1 parent 8a485da commit 5d083b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/apps/script/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default class ScriptCreate extends Vue {
<t-textarea v-model="formModel.Content" :autosize="{ minRows: 4, maxRows: 15 }" :placeholder="formModel.CommandType == 'SHELL' ? '请在首行声明解释器,如 #!/bin/sh' : ''" />
</t-form-item>
<t-form-item name="Description" label="脚本描述">
<t-textarea v-model="formModel.Description" :autosize="{ minRows: 2, maxRows: 15 }" />
<t-textarea v-model="formModel.Description" :autosize="{ minRows: 2, maxRows: 8 }" />
</t-form-item>
<t-form-item name="Timeout" label="超时时间">
<t-input-number v-model="formModel.Timeout" placeholder="默认为 300s" :min="1" :max="86400" />
Expand Down
2 changes: 1 addition & 1 deletion src/apps/script/exec.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class ScriptExec extends Vue {
<t-input v-model="formModel.WorkDirectory" :placeholder="formModel.CommandType == 'SHELL' ? '默认为 /root' : '默认为 C:\\'" />
</t-form-item>
<t-form-item name="Description" label="脚本描述">
<t-textarea v-model="formModel.Description" :autosize="{ minRows: 2, maxRows: 5 }" readonly />
<t-textarea v-model="formModel.Description" :autosize="{ minRows: 2, maxRows: 8 }" disabled />
</t-form-item>
<t-form-item name="Content" label="脚本内容">
<t-textarea v-model="formModel.Content" :autosize="{ minRows: 5, maxRows: 15 }" />
Expand Down
2 changes: 1 addition & 1 deletion src/apps/script/update.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default class ScriptUpdate extends Vue {
<t-textarea v-model="formModel.Content" :autosize="{ minRows: 4, maxRows: 15 }" :placeholder="formModel.CommandType == 'SHELL' ? '请在首行声明解释器,如 #!/bin/sh' : ''" />
</t-form-item>
<t-form-item name="Description" label="脚本描述">
<t-textarea v-model="formModel.Description" :autosize="{ minRows: 2, maxRows: 15 }" />
<t-textarea v-model="formModel.Description" :autosize="{ minRows: 2, maxRows: 8 }" />
</t-form-item>
<t-form-item name="Timeout" label="超时时间">
<t-input-number v-model="formModel.Timeout" placeholder="默认为 300s" :min="1" :max="86400" />
Expand Down

0 comments on commit 5d083b5

Please sign in to comment.