feat: add error handle

This commit is contained in:
vben
2020-10-18 21:55:21 +08:00
parent c0692b0f43
commit 7101587b96
32 changed files with 674 additions and 116 deletions

View File

@@ -146,7 +146,7 @@
}
if (showSummary) {
propsData.footer = renderFooter.bind(null, {
scroll,
scroll: scroll as any,
columnsRef: getColumnsRef,
summaryFunc: unref(getMergeProps).summaryFunc,
dataSourceRef: getDataSourceRef,

View File

@@ -29,7 +29,6 @@ export default defineComponent({
const {
disabled = false,
label,
props,
icon,
color = '',
type = 'link',
@@ -41,7 +40,7 @@ export default defineComponent({
size="small"
disabled={disabled}
color={color}
{...props}
{...action}
key={index}
>
{() => (
@@ -101,7 +100,6 @@ export default defineComponent({
const {
disabled = false,
label,
props,
icon,
color = '',
type = 'link',
@@ -112,7 +110,7 @@ export default defineComponent({
<Button
type={type}
size="small"
{...props}
{...action}
disabled={disabled}
color={color}
>