| 123456789101112131415161718192021222324252627282930313233 |
- <template>
- <document-cards :data="data" :hasUpload="true" />
- </template>
- <script>
- import DocumentCards from "@/components/DocumentCards.vue";
- import { defineComponent, ref, inject, reactive } from "vue";
- export default defineComponent({
- components: {
- DocumentCards
- },
- setup() {
- const data = ref([
- {
- background: "rgba(72, 177, 244, 0.06)",
- color: "rgb(72, 177, 244)",
- img: "/src/assets/document/1.png",
- title: "自定义个人文档",
- content: "支持个人文档上传,以列表形式管理个人文档库"
- },
- {
- background: "rgba(158, 128, 255, 0.06)",
- color: "rgb(158, 128, 255)",
- img: "/src/assets/document/2.png",
- title: "多文档问答",
- content: "支持勾选多个文档,实现基于限定文档的问答"
- }
- ]);
- return {
- data
- };
- }
- });
- </script>
|