修改国际版本
This commit is contained in:
@@ -44,7 +44,7 @@ import { onShow } from '@dcloudio/uni-app'
|
||||
import { getUserInfo } from '@/util/index.js'
|
||||
import { withdrawDeposit } from '@/config/api/user.js'
|
||||
import { queryById } from '@/config/api/order.js'
|
||||
import { useI18n } from '@/utils/i18n.js'
|
||||
import { useI18n, showModalI18n } from '@/utils/i18n.js'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
||||
@@ -102,7 +102,7 @@ const handleWithdraw = async () => {
|
||||
return
|
||||
}
|
||||
|
||||
uni.showModal({
|
||||
showModalI18n({
|
||||
title: t('deposit.confirmWithdraw'),
|
||||
content: t('deposit.withdrawDesc'),
|
||||
success: async (res) => {
|
||||
@@ -158,7 +158,7 @@ const handleWithdraw = async () => {
|
||||
}
|
||||
}
|
||||
|
||||
uni.showModal({
|
||||
showModalI18n({
|
||||
title: t('deposit.withdrawFailed'),
|
||||
content: errorMessage,
|
||||
showCancel: false
|
||||
|
||||
Reference in New Issue
Block a user