refactor: by value

This commit is contained in:
Net 2024-08-20 18:02:15 +07:00
parent d301f5c385
commit e2089edb85

View file

@ -1528,12 +1528,12 @@ const emptyCreateDialog = ref(false);
> >
<BranchPage <BranchPage
v-if="currentCustomer" v-if="currentCustomer"
v-model:customer-id="currentCustomer.id"
:customer-type="currentCustomer.customerType" :customer-type="currentCustomer.customerType"
:current-customer-name="`${currentCustomer.firstName} ${currentCustomer.lastName}`"
v-model:customer-id="currentCustomer.id"
v-model:mode-view="gridView" v-model:mode-view="gridView"
@back="$router.push('/customer-management')" @back="$router.push('/customer-management')"
v-model:branch="branch" v-model:branch="branch"
v-model:current-customer-name="currentCustomer.customerName"
v-model:current-customer-url-image="currentCustomer.imageUrl" v-model:current-customer-url-image="currentCustomer.imageUrl"
/> />
</div> </div>