diff --git a/src/components/modal/confirm.js b/src/components/modal/confirm.js index d2c2b00..49d9291 100644 --- a/src/components/modal/confirm.js +++ b/src/components/modal/confirm.js @@ -1,7 +1,7 @@ import Vue from 'vue'; import Modal from './modal.vue'; import Icon from '../icon/icon.vue'; -import Button from '../button/button.vue'; +import iButton from '../button/button.vue'; import { camelcaseToHyphen } from '../../utils/assist'; const prefixCls = 'ivu-modal-confirm'; @@ -26,8 +26,8 @@ Modal.newInstance = properties => { {{{ body }}}
@@ -36,7 +36,7 @@ Modal.newInstance = properties => { const modal = new Vue({ el: div, - components: { Modal, Button, Icon }, + components: { Modal, iButton, Icon }, data: Object.assign(_props, { visible: false, width: 416, diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index 85bb21b..c789194 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -12,8 +12,8 @@