store 3
This commit is contained in:
@@ -1,36 +1,13 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
import { getConfigApp, isStoreApp } from '@/utils/config'
|
||||
|
||||
const Orders: RouteRecordRaw = {
|
||||
/** ریدایرکت آدرس قدیمی — منو زیر پیکربندی است */
|
||||
const GiftCard: RouteRecordRaw = {
|
||||
name: 'giftCard',
|
||||
path: '/giftCard',
|
||||
component: () => import('@core/layouts/BasicLayout.vue'),
|
||||
redirect: { name: 'giftCardMain' },
|
||||
meta: {
|
||||
icon: 'vuesax-linear:gift',
|
||||
permissionsKey: 'giftCard',
|
||||
title: isStoreApp() ? 'کارت هدیه و تخفیف' : 'کارت هدیه',
|
||||
disabled: false,
|
||||
hideMenu: !isStoreApp() && getConfigApp('name') != 'garoosi',
|
||||
hideChildren: true,
|
||||
order: 7
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'giftCardMain',
|
||||
path: '',
|
||||
component: () => import('@/pages/menuPages/giftCards/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'project',
|
||||
icon: 'vuesax-linear:empty-wallet-time',
|
||||
order: 3,
|
||||
title: isStoreApp() ? 'کارت هدیه و تخفیف' : 'کارت هدیه',
|
||||
disabled: false,
|
||||
hideMenu: false
|
||||
//hideChildren: false
|
||||
}
|
||||
}
|
||||
]
|
||||
hideMenu: true
|
||||
}
|
||||
}
|
||||
|
||||
export default Orders
|
||||
export default GiftCard
|
||||
|
||||
Reference in New Issue
Block a user