<template>
    <div>
        <mumuOneCode @success="qrcodeSucess" @error="qrcodeError"></mumuOneCode>

    </div>
</template>

<script setup>
import mumuOneCode from "../../components/mumu-getQrcode/mumu-oneCode.vue";

const qrcodeSucess = (id) => {
    console.log(id)
    uni.showModal({
        title: id,
        content: id,
    });
}
const qrcodeError = (err) => {
    console.log(err);
    uni.showModal({
        title: "摄像头授权失败",
    });
}
</script>

<style lang="scss" scoped></style>