feat: 添加一个qrgb的demo

This commit is contained in:
539943419 committed 2025-01-27 20:51:37 +08:00
1 parent 4fecf18da7
commit 46b1da589f
6 files changed
+278 -3

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<template>
<div>
<miaoQRGBCode :value="testData"/>
<div>{{ testData }}</div>
<input type="text" v-model="testData">
<!-- <miaoQRCode :value="testData"/> -->
</div>
</template>
<script setup lang="ts">
import { ref } from 'vue';
import miaoQRGBCode from '~/components/tools/miaoQRGBCode.vue';
// import miaoQRCode from '../components/miaoQRCode.vue';
const testData = ref(new Array(3).fill(0).map(_ => `${Math.random()}`).join(''))
</script>
<style scoped>
</style>