zhengyiming
2025-03-31 848b21bacd06c45ee16d8522acbce800df57b3a6
packages/components/src/views/SelectPayTypeView/SelectPayTypeView.vue
@@ -29,11 +29,11 @@
  lifePayOrderType?: LifeRechargeConstants.LifePayOrderTypeEnum;
  showAliPay?: boolean;
  showWeixinPay?: boolean;
  openId?: string;
  isInWeChat?: boolean;
  isH5?: boolean;
  appId?: string;
  isFocus?: boolean;
  getOpenId?: () => Promise<string>;
};
const props = withDefaults(defineProps<Props>(), {
@@ -51,7 +51,7 @@
}>();
const { state, invokeAliPay, invokeWeixinPay } = useSelectPayType({
  openId: toRef(props, 'openId'),
  getOpenId: toRef(props, 'getOpenId'),
  isInWeChat: toRef(props, 'isInWeChat'),
  isH5: toRef(props, 'isH5'),
  appId: toRef(props, 'appId'),