ant-design-vue/components/qrcode/demo/status.vue

27 lines
515 B
Vue

<docs>
---
order: 3
title:
zh-CN: ไธๅŒ็š„็Šถๆ€
en-US: other status
---
## zh-CN
ๅฏไปฅ้€š่ฟ‡ status ็š„ๅ€ผๆŽงๅˆถไบŒ็ปด็ ็š„็Šถๆ€ใ€‚
## en-US
The status can be controlled by the value `status`.
</docs>
<template>
<a-space>
<div><a-qrcode value="http://www.antv.com" status="loading" /></div>
<div><a-qrcode value="http://www.antv.com" status="expired" @refresh="refreshChange" /></div>
</a-space>
</template>
<script lang="ts" setup>
const refreshChange = () => alert('updated');
</script>