feat: 添加一个qrgb的demo
This commit is contained in:
1 parent
4fecf18da7
commit
46b1da589f
6 files changed
+278
-3
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user