-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.6.4
Environment
vue@2.5.2,chrome
Reproduction link
https://www.antdv.com/components/modal-cn/#components-modal-demo-information-modal-dialog
Steps to reproduce
index.html
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.2/dist/vue.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/moment@2.27.0/moment.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/ant-design-vue@1.6.4/dist/antd.min.js"></script>base.conf
externals: {
vue: 'Vue',
'moment': 'moment',
'ant-design-vue': "antd"
},
使用时第一次进入页面无法关闭modal,无论是右上角还是阴影,@cancel编写正确,
刷新之后正常关闭
What is expected?
使用时第一次进入页面能正常关闭modal
What is actually happening?
使用时第一次进入页面无法关闭modal