style(@vben/web-antd): format customer profile files

This commit is contained in:
2026-03-03 14:42:36 +08:00
parent 4fe8bbdba7
commit c6050fe92f
4 changed files with 25 additions and 17 deletions

View File

@@ -1,9 +1,9 @@
import { computed, onActivated, onMounted, ref, watch } from 'vue';
import { useRoute, useRouter } from 'vue-router';
import type { CustomerProfileDto } from '#/api/customer';
import type { StoreListItemDto } from '#/api/store';
import { computed, onActivated, onMounted, ref, watch } from 'vue';
import { useRoute, useRouter } from 'vue-router';
import { createDefaultListFilters } from './customer-profile-page/constants';
import { createDataActions } from './customer-profile-page/data-actions';
import {
@@ -25,13 +25,15 @@ export function useCustomerProfilePage() {
const filters = createDefaultListFilters();
const { loadStores, pickDefaultCustomerKey, loadProfile } = createDataActions({
stores,
profile,
filters,
isStoreLoading,
isProfileLoading,
});
const { loadStores, pickDefaultCustomerKey, loadProfile } = createDataActions(
{
stores,
profile,
filters,
isStoreLoading,
isProfileLoading,
},
);
const emptyDescription = computed(() => {
if (isStoreLoading.value || isProfileLoading.value) {