fix some bug
This commit is contained in:
@@ -42,6 +42,17 @@ const Setting: RouteRecordRaw = {
|
||||
order: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'pricingMain',
|
||||
path: 'pricing',
|
||||
component: () => import('@/pages/menuPages/pricing/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'pricing',
|
||||
icon: 'vuesax-linear:dollar-circle',
|
||||
title: 'تاریخچه قیمت',
|
||||
order: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'advancedConfiguration',
|
||||
path: 'advanced-configuration',
|
||||
@@ -51,7 +62,7 @@ const Setting: RouteRecordRaw = {
|
||||
deployAdminOnly: true,
|
||||
icon: 'vuesax-linear:code-circle',
|
||||
title: 'تنظیمات پیشرفته',
|
||||
order: 2
|
||||
order: 3
|
||||
},
|
||||
beforeEnter() {
|
||||
const userStore = useUserStore()
|
||||
@@ -67,7 +78,7 @@ const Setting: RouteRecordRaw = {
|
||||
meta: {
|
||||
icon: 'vuesax-linear:image',
|
||||
title: 'بنرها',
|
||||
order: 3
|
||||
order: 4
|
||||
},
|
||||
beforeEnter() {
|
||||
if (!bannerEnabledSetting.value) {
|
||||
@@ -75,17 +86,6 @@ const Setting: RouteRecordRaw = {
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'settingMain_limitedOrder',
|
||||
path: 'limitedOrder',
|
||||
component: () => import('@/pages/menuPages/setting/limitedOrder/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'config.limitedOrder',
|
||||
icon: 'vuesax-linear:document-text',
|
||||
title: 'محدودیت سفارش',
|
||||
order: 4
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'priceTriggers',
|
||||
path: 'priceTriggers',
|
||||
|
||||
Reference in New Issue
Block a user