# 对话框 - Dialog

# 示例

# 代码

查看源码
<template>
  <div>
    <Button @click="visible = !visible" type="primary">打开Dialog</Button>
    <Dialog
      :is-visible.sync="visible"
    >
      <span>这是一段信息</span>
    </Dialog>
  </div>
</template>

<script>
  import {Dialog, Button} from "@wanmaoor/giaoui"
	
  export default {
    name: "Dialogs",
	components: {Dialog, Button},
	data() {
	  return {
		visible: false
	  }
	}
  }
</script>

# API

is-visible.sync
Dialog 确定是否显示dialog

WARNING

由于样式的限制, 本demo在vuepress下没能全屏覆盖. 但是在其他页面下是可用的.请放心使用.

Last Updated: 2/19/2020, 5:05:07 PM