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