# 二维码
<e-qr-code :text="text"></e-qr-code>
```html
<template>
  <e-qr-code :text="text"/>
</template>
<script>
  import EQrCode from 'e-ui/QrCode'
  export default {
    components: {
      EQrCode
    },
    data () {
      return {
        text: 'http://www.baidu.com'
      }
    },
    mounted () {
      setTimeout(() => {
        this.text = 'http://www.qq.com'
      }, 2000)
    }
  }
</script>
```
### Extends
[qrcodejs](https://github.com/davidshimjs/qrcodejs)

### Props
| 参数      | 说明    | 类型      | 可选值       | 默认值   |
|---------- |-------- |---------- |------------- |--------- |
| text     | 二维码文本   | string  |   -       |    -    |
| height     | 二维码图片高度   | number  |   -       |    200    |
| width     | 二维码图片宽度   | number  |   -       |    200    |

### Events
| 事件名称 | 说明 | 回调参数 |
|---------|--------|---------|
| - | - | - |

### Slots
| 名称 | 说明 | 
|---------|--------|
| - | - |