wip
This commit is contained in:
parent
79d56e0b32
commit
b4b8aa8ab2
10 changed files with 26 additions and 28 deletions
|
|
@ -60,7 +60,7 @@ import { url, instanceName } from '@/config.js';
|
|||
import { defaultEmbedParams } from '@/embed-page.js';
|
||||
|
||||
const props = defineProps<{
|
||||
username: string;
|
||||
userId: string;
|
||||
}>();
|
||||
|
||||
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
|
||||
|
|
@ -77,7 +77,7 @@ const loading = ref(true);
|
|||
const notesEl = shallowRef<InstanceType<typeof EmNotes> | null>(null);
|
||||
|
||||
misskeyApi('users/show', {
|
||||
username: props.username,
|
||||
userId: props.userId,
|
||||
}).then(res => {
|
||||
user.value = res;
|
||||
loading.value = false;
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ import EmUserTimelinePage from '@/pages/user-timeline.vue';
|
|||
|
||||
const page = location.pathname.split('/')[2];
|
||||
const contentId = location.pathname.split('/')[3];
|
||||
console.log(page, contentId);
|
||||
|
||||
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue