Lowell
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
src/components/Form/src/components/FormAction.vue
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<a-col v-bind="actionColOpt" :style="{ textAlign: 'right' }" v-if="showActionButtonGroup"> |
|
|
|
<div style="width: 100%; text-align: right"> |
|
|
|
<a-col v-bind="actionColOpt" v-if="showActionButtonGroup"> |
|
|
|
<div style="width: 100%" :style="{ textAlign: actionColOpt.style.textAlign }"> |
|
|
|
<FormItem> |
|
|
|
<slot name="resetBefore"></slot> |
|
|
|
<Button |
|
|
|
@ -92,6 +92,7 @@ |
|
|
|
? { span: actionSpan < 6 ? 24 : actionSpan } |
|
|
|
: {}; |
|
|
|
const actionColOpt: Partial<ColEx> = { |
|
|
|
style: { textAlign: 'right' }, |
|
|
|
span: showAdvancedButton ? 6 : 4, |
|
|
|
...advancedSpanObj, |
|
|
|
...actionColOptions, |
|
|
|
|