fix Comment Page
This commit is contained in:
+2
-10
@@ -1,22 +1,14 @@
|
||||
<template>
|
||||
<root-layout v-if="isReady" icp="test icp" author="test cr name">
|
||||
<authorize-form class="test" />
|
||||
<textarea v-text="JSON.stringify(userStore.loginUser)"></textarea>
|
||||
<comment :bizType="CommentBizType.ARTICLE" :bizId="1" />
|
||||
</root-layout>
|
||||
<popup />
|
||||
<user-profile-popup />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { CommentBizType, Popup, SettingMapper, userStore } from "timi-web";
|
||||
import { AuthorizeForm, Comment, RootLayout, UserProfilePopup } from "~/components";
|
||||
import { Popup } from "timi-web";
|
||||
import { UserProfilePopup } from "~/components";
|
||||
|
||||
const isReady = ref(false);
|
||||
|
||||
onMounted(async () => {
|
||||
await SettingMapper.loadSetting();
|
||||
await userStore.login4Storage();
|
||||
isReady.value = true;
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user