wupengfei
2 天以前 0224735fb1cba46f6549adfa1f60ffd6b5041b72
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'),