Skip to content

Commit a287bbd

Browse files
authored
fix (#136)
1 parent 46d44d5 commit a287bbd

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

src/views/btnProfile/DialogInfo.vue

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
{{ statusStore.userWallte.total_balance_amount || 0
8383
}}<span>{{ $t('btnProfile.userInfo.coin') }}</span>
8484
</n-tooltip>
85-
<span class="btn" @click="orderStore.showProduct = true">{{
85+
<span class="btn" @click="handleRechargeClick">{{
8686
$t('btnProfile.userInfo.recharge')
8787
}}</span>
8888
</div>
@@ -203,13 +203,12 @@
203203
<script setup lang="ts">
204204
import { NModal, NTooltip } from 'naive-ui'
205205
import { useStatusStore } from '@/stores/userStatus'
206-
import { useOrderStore } from '@/stores/orderStore'
207206
import { useI18n } from 'vue-i18n'
208207
import { computed } from 'vue'
208+
import { useConfirm } from '@/components/modules/vConfirm'
209209
210210
useI18n()
211211
const statusStore = useStatusStore()
212-
const orderStore = useOrderStore()
213212
const toUploadInfo = () => {
214213
statusStore.showInfoDialog = false
215214
statusStore.showUploadInfoDialog = true
@@ -245,6 +244,16 @@
245244
statusStore.coinsParam.expire_days = 365
246245
statusStore.handlePropertyDialog(true)
247246
}
247+
248+
const handleRechargeClick = async () => {
249+
const res = await useConfirm({
250+
title: '提示',
251+
content: '插件不再支持支付功能,请前往 bizyair.cn 操作',
252+
cancelText: '取消',
253+
continueText: '前往 bizyair.cn'
254+
})
255+
if (res) window.open('https://bizyair.cn', '_blank')
256+
}
248257
</script>
249258
<style scoped lang="less">
250259
p,

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.66
1+
1.2.67

0 commit comments

Comments
 (0)