style(@vben/web-antd): format customer profile files
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user