mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +08:00
feat: dialogStyle dialogClass deprecated #3142
This commit is contained in:
parent
d122901de6
commit
c07423a6d5
@ -7,6 +7,7 @@ import BaseMixin from '../_util/BaseMixin';
|
||||
import { getTransitionProps, Transition } from '../_util/transition';
|
||||
import switchScrollingEffect from '../_util/switchScrollingEffect';
|
||||
import getDialogPropTypes from './IDialogPropTypes';
|
||||
import warning from '../_util/warning';
|
||||
const IDialogPropTypes = getDialogPropTypes();
|
||||
|
||||
let uuid = 0;
|
||||
@ -64,6 +65,8 @@ export default defineComponent({
|
||||
focusTriggerAfterClose: true,
|
||||
}),
|
||||
data() {
|
||||
warning(!this.dialogClass, 'Modal', 'dialogClass is deprecated, please use class instead.');
|
||||
warning(!this.dialogStyle, 'Modal', 'dialogStyle is deprecated, please use style instead.');
|
||||
return {
|
||||
inTransition: false,
|
||||
titleId: `rcDialogTitle${uuid++}`,
|
||||
|
Loading…
Reference in New Issue
Block a user