taiji_caozhaorui 2 weeks ago
parent
commit
e2696b3d4d

+ 1 - 1
src/views/smart-ask-answer/assistant/chat.vue

@@ -263,7 +263,7 @@ const initTextHandle = () => {
     const params1 = {
       data: {
         pageIndex: 1,
-        pageSize: 10,
+        pageSize: 20,
         condition: {
           title: t.value
         }

+ 6 - 5
src/views/smart-ask-answer/assistant/index.vue

@@ -216,7 +216,7 @@ const getText = (text: string) => {
 const setAskList = (text: string) => {
   const nowAsk = localStorage.getItem(askKey) ? localStorage.getItem(askKey).split(askSplit) : []
   nowAsk.unshift(text)
-  localStorage.setItem(askKey, nowAsk.slice(0, 10).join(askSplit))
+  localStorage.setItem(askKey, nowAsk.slice(0, 20).join(askSplit))
   state.askList = nowAsk
 }
 const onDelAsk = (index) => {
@@ -260,7 +260,7 @@ const initRelation = (text = '') => {
   const params1 = {
     data: {
       pageIndex: 1,
-      pageSize: 10,
+      pageSize: 20,
       condition: {
         title: text
       }
@@ -272,7 +272,7 @@ const initRelation = (text = '') => {
   const params2 = {
     data: {
       pageIndex: 1,
-      pageSize: 10,
+      pageSize: 20,
       condition: {
         mattersName: text
       }
@@ -284,7 +284,7 @@ const initRelation = (text = '') => {
   const params3 = {
     data: {
       pageIndex: 1,
-      pageSize: 10,
+      pageSize: 20,
       condition: {
         contentTitle: text
       }
@@ -317,7 +317,7 @@ onMounted(() => {
 .list_1 {
   margin-top: auto;
   width: 100%;
-  height: 146px;
+  flex: 1;
   display: flex;
   flex-direction: column;
   overflow: hidden;
@@ -392,6 +392,7 @@ onMounted(() => {
   .assistant-main {
     display: flex;
     gap: 36px;
+    height: 86%;
     .assistant-main-list {
       width: 579px;
       display: flex;