diff --git a/src/views/property-marketing/media-account/account-detail/components/account-info/index.vue b/src/views/property-marketing/media-account/account-detail/components/account-info/index.vue index 5b3d2a6..457f04a 100644 --- a/src/views/property-marketing/media-account/account-detail/components/account-info/index.vue +++ b/src/views/property-marketing/media-account/account-detail/components/account-info/index.vue @@ -122,7 +122,8 @@ import icon4 from '@/assets/img/media-account/icon-success.png'; const route = useRoute(); const id = route.params.id; -const dateType = route.query.type; +const dateType = route.query.type ?? 'week'; + const detailData = ref({}); const showMore = ref(false); diff --git a/src/views/property-marketing/media-account/account-detail/index.vue b/src/views/property-marketing/media-account/account-detail/index.vue index c627029..cdefb38 100644 --- a/src/views/property-marketing/media-account/account-detail/index.vue +++ b/src/views/property-marketing/media-account/account-detail/index.vue @@ -21,7 +21,7 @@ import { useRouter } from 'vue-router'; const router = useRouter(); const handleBack = () => { - router.push('/media-account/dashboard'); + router.go(-1); }; diff --git a/src/views/property-marketing/media-account/account-manage/components/account-table/index.vue b/src/views/property-marketing/media-account/account-manage/components/account-table/index.vue index 775e625..9f13f9f 100644 --- a/src/views/property-marketing/media-account/account-manage/components/account-table/index.vue +++ b/src/views/property-marketing/media-account/account-manage/components/account-table/index.vue @@ -4,17 +4,24 @@ -->