added online and trigger
This commit is contained in:
@@ -18,14 +18,21 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, onMounted } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
import BasicMenu from '@/components/BasicMenu/index.vue'
|
||||
import { useRouterStore } from '@core/stores/router'
|
||||
import { get } from 'lodash'
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
import { conditionalOrderEnabledSetting } from '@/utils/config'
|
||||
import { conditionalOrderEnabledSetting, initWalletSettingsFromApi } from '@/utils/config'
|
||||
|
||||
const routerStore = useRouterStore()
|
||||
const route = useRoute()
|
||||
|
||||
onMounted(() => {
|
||||
void initWalletSettingsFromApi()
|
||||
})
|
||||
|
||||
const menu = computed(() => {
|
||||
const item = routerStore.routes.find((item) => item.name === 'hesabKetab')
|
||||
const children = get(item, 'children[0].children', []) as RouteRecordRaw[]
|
||||
|
||||
Reference in New Issue
Block a user