Unverified 提交 225bd4c3 作者: Lowell 提交者: GitHub

fix: style property of actionColOpt is invalid (#997)

上级 7e6a89ff
<template> <template>
<a-col v-bind="actionColOpt" :style="{ textAlign: 'right' }" v-if="showActionButtonGroup"> <a-col v-bind="actionColOpt" v-if="showActionButtonGroup">
<div style="width: 100%; text-align: right"> <div style="width: 100%" :style="{ textAlign: actionColOpt.style.textAlign }">
<FormItem> <FormItem>
<slot name="resetBefore"></slot> <slot name="resetBefore"></slot>
<Button <Button
...@@ -92,6 +92,7 @@ ...@@ -92,6 +92,7 @@
? { span: actionSpan < 6 ? 24 : actionSpan } ? { span: actionSpan < 6 ? 24 : actionSpan }
: {}; : {};
const actionColOpt: Partial<ColEx> = { const actionColOpt: Partial<ColEx> = {
style: { textAlign: 'right' },
span: showAdvancedButton ? 6 : 4, span: showAdvancedButton ? 6 : 4,
...advancedSpanObj, ...advancedSpanObj,
...actionColOptions, ...actionColOptions,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论