fix bugs and added some feature for withdraw handling

This commit is contained in:
2026-07-19 15:49:52 +03:30
parent b446c21afc
commit 3cb1e1a0b0
17 changed files with 442 additions and 58 deletions
+6 -1
View File
@@ -2,7 +2,7 @@ import type { RouteRecordRaw } from 'vue-router'
import { isDeployAdmin } from '@/utils/deployAdmin'
import { hasSmsPanelAccess } from '@/utils/smsPanelAccess'
import { useUserStore } from '@/store/userStore'
import { bannerEnabledSetting } from '@/utils/config'
import { bannerEnabledSetting, trackingSystemsEnabledSetting } from '@/utils/config'
const Setting: RouteRecordRaw = {
name: 'settings',
@@ -52,6 +52,11 @@ const Setting: RouteRecordRaw = {
icon: 'vuesax-linear:global',
title: 'سایت‌های ری‌گیری',
order: 2
},
beforeEnter() {
if (!trackingSystemsEnabledSetting.value) {
return { name: 'configuration' }
}
}
},
{