chore: Descriptions warning message upgrade (#20786)

* fix warning

* warning message upgrade

* snapshot

* update
This commit is contained in:
Amumu 2020-01-10 10:35:20 +08:00 committed by 二货机器人
parent 00aab562a0
commit bb560537d9
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ describe('Descriptions', () => {
</Descriptions>,
);
expect(errorSpy).toHaveBeenCalledWith(
'Warning: [antd: Descriptions] Sum of column `span` in a line exceeds `column` of Descriptions.',
'Warning: [antd: Descriptions] Sum of column `span` in a line not match `column` of Descriptions.',
);
});

View File

@ -92,7 +92,7 @@ const generateChildrenRows = (
warning(
leftSpans === 0 && lastSpanSame,
'Descriptions',
'Sum of column `span` in a line exceeds `column` of Descriptions.',
'Sum of column `span` in a line not match `column` of Descriptions.',
);
}
});