comment reply framework

This commit is contained in:
landaiqing
2024-09-19 01:03:21 +08:00
parent c260ca642a
commit 1539a2d9bb
21 changed files with 1563 additions and 493 deletions

View File

@@ -3,12 +3,14 @@
<h1>Welcome to Main Page</h1>
<AButton @click="handleClick">获取登录用户角色</AButton>
{{ data }}
<CommentReply/>
</div>
</template>
<script setup lang="ts">
import {useRequest} from "alova/client";
import {getUserPermissions} from "@/api/user";
import useStore from "@/store";
import CommentReply from "@/components/CommentReply/CommentReply.vue";
const {data, send} = useRequest(getUserPermissions, {
immediate: false