Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按照官方文档引入modal组件, 没有效果 #16

Open
yleson opened this issue Dec 11, 2019 · 0 comments
Open

按照官方文档引入modal组件, 没有效果 #16

yleson opened this issue Dec 11, 2019 · 0 comments

Comments

@yleson
Copy link

yleson commented Dec 11, 2019

aaaa
这是一个无标题的对话框
<script> import iModal from 'iview-mpvue/dist/components/modal/modal' import 'iview-mpvue/dist/components/modal/style/css' export default { data () { return { visible2: false, } }, components: { 'i-modal': iModal, }, mounted() { }, methods: { handleOpen2() { console.log('123') this.visible2 = true }, handleClose2() { this.visible2 = false }, }, } </script> <style> .index-wrapper { position: absolute; width: 100%; height: 100%; top: 0; left: 0; overflow-y: auto; background-color: #F7F8FA; } </style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant