feat: refactor for path support

This commit is contained in:
Methapon2001 2024-07-08 14:08:57 +07:00
parent 4d8e22d64e
commit e631ed9c47
8 changed files with 44 additions and 23 deletions

View file

@ -1012,7 +1012,7 @@ function cloneData() {
onMounted(async () => {
utilsStore.currentTitle.title = 'mainProductTitle';
utilsStore.currentTitle.caption = 'mainProductCaption';
utilsStore.currentTitle.path = [{ text: 'mainProductCaption' }];
calculateStats();
await fetchListGroups();
@ -1229,7 +1229,7 @@ watch(inputSearchProductAndService, async () => {
v-if="productMode === 'group' || productMode === 'type'"
class="surface-1 col bordered rounded column no-wrap"
>
<div class="row surface-2 bordered-b q-px-md q-py-sm">
<div class="row surface-2 bordered-b q-px-md q-py-sm items-center">
<div v-if="productMode === 'type'" class="text-h6 text-weight-bold">
{{ $t('productAndServiceType') }}
</div>
@ -1433,7 +1433,7 @@ watch(inputSearchProductAndService, async () => {
<template v-else>
<div
v-if="productMode === 'group'"
class="row items-center justify-between"
class="row items-center justify-between q-px-md q-py-sm"
>
<div class="col-4">
<div class="row items-center">