Lowell
2021-07-28 225bd4c39de377d93c605f33bfdf3d8fd565f12b
fix: style property of actionColOpt is invalid (#997)

1个文件已修改
5 ■■■■■ 已修改文件
src/components/Form/src/components/FormAction.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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,