wupengfei
昨天 e372854c71bc97d162452cc4b3f5cfa586da50a8
packages/components/src/views/Mine/ShareQrcodeView.vue
@@ -1,6 +1,6 @@
<template>
  <div class="share-qrcode-view">
    <qrcode-vue :value="link" :size="200"></qrcode-vue>
    <qrcode-vue :value="link" :size="size"></qrcode-vue>
  </div>
</template>
@@ -13,9 +13,16 @@
  name: 'ShareQrcodeView',
});
type Props = {
  channlesNum?: string;
  size?: number;
};
const props = withDefaults(defineProps<Props>(), {
  size: 200,
});
const { blLifeRecharge } = useLifeRechargeContext();
const link = computed(
  () => `${CLIENT_ORIGIN}?channelId=${blLifeRecharge.accountModel.channlesNum}`
);
const link = computed(() => `${CLIENT_ORIGIN}?channelId=${props.channlesNum}`);
</script>