feat: 同步数据loading
This commit is contained in:
@ -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);
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ import { useRouter } from 'vue-router';
|
||||
const router = useRouter();
|
||||
|
||||
const handleBack = () => {
|
||||
router.push('/media-account/dashboard');
|
||||
router.go(-1);
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user