fix:修复bug

This commit is contained in:
2026-02-27 15:26:17 +08:00
parent a1d4e16d83
commit e9655643d6
2 changed files with 27 additions and 28 deletions
+10 -11
View File
@@ -59,11 +59,17 @@ export default {
body: params
})
console.log('handleSuccess', res)
if (uni.getStorageSync('UNI_LOCALE') == 'zh-Hans') {
await uni.showToast({
icon: 'none',
title: '信用卡添加成功'
})
} else {
await uni.showToast({
icon: 'none',
title: 'The credit card was added successfully.'
})
}
// const eventChannel = this.getOpenerEventChannel();
// const id = res.data
// eventChannel.emit('acceptDataFromOpenedPage', {...params, id});
@@ -146,18 +152,11 @@ export default {
<view class="text-32rpx text-#333 font-500 mt-70rpx mb-12rpx">{{ t('pages-user.card.title') }}</view>
<view class="text-28rpx lh-28rpx text-#999">{{ t('pages-user.card.desc') }}</view>
</view>
<view class="mt-188rpx px-30rpx py-40rpx bg-#fff" id="payment-form"
:prop="isSubmit"
:change:prop="addRenderjs.handleSubmit"
></view>
<view class="mt-188rpx px-30rpx py-40rpx bg-#fff" id="payment-form" :prop="isSubmit"
:change:prop="addRenderjs.handleSubmit"></view>
<!-- 底部确认按钮 -->
<fixed-bottom-large-btn
class="z-100"
fixed
:text="t('common.save')"
@click="handleSubmit"
/>
<fixed-bottom-large-btn class="z-100" fixed :text="t('common.save')" @click="handleSubmit" />
</view>
</template>
+9 -9
View File
@@ -470,15 +470,15 @@ function getInviteInfo() {
});
// 获取支付相关配置
getDictFineList({
dictType: "app_config",
}).then((res) => {
res.data.map((item) => {
if (item.dictValue === "stripeKey") {
Config.stripeKey = item.remark;
}
});
});
// getDictFineList({
// dictType: "app_config",
// }).then((res) => {
// res.data.map((item) => {
// if (item.dictValue === "stripeKey") {
// Config.stripeKey = item.remark;
// }
// });
// });
}
}
</script>