fixed #46
This commit is contained in:
梁灏 2016-11-03 13:54:21 +08:00
parent f94309af29
commit 3e855e34df
5 changed files with 135 additions and 100 deletions

View file

@ -28,10 +28,23 @@
<Tag type="border" color="red" closable>标签一</Tag>
<Tag type="border" color="yellow">标签一</Tag>
<Tag type="border" color="yellow" closable>标签一</Tag>
<i-button type="primary" @click="modal1 = true">显示对话框</i-button>
<Modal
:visible.sync="modal1"
title="普通的Modal对话框标题">
<p>对话框内容</p>
<p>对话框内容</p>
<p>对话框内容</p>
</Modal>
</template>
<script>
import { Tag } from 'iview';
import { Tag, Modal, iButton } from 'iview';
export default {
components: { Tag }
components: { Tag, Modal, iButton },
data () {
return {
modal1: false
}
}
}
</script>