sunsheng 2 місяців тому
батько
коміт
cc806fae17

+ 2 - 2
env/.env.development

@@ -2,8 +2,8 @@
 VITE_ENV = 'development'
 
 # Api地址
-VITE_API_URL = 'http://192.168.3.123:8091'
-# VITE_API_URL = 'http://xia0miduo.gicp.net:8091'
+# VITE_API_URL = 'http://192.168.3.123:8091'
+VITE_API_URL = 'http://xia0miduo.gicp.net:8091'
 
 #跳转地址
 VITE_JUMP_URL = 'http://localhost:4000/#/knowledgeChat?showMenu=true&chatMode=LOCAL'

+ 1 - 1
src/pages/deepseek/knowledgeLib/slice/detail/index.tsx

@@ -294,7 +294,7 @@ const SliceDetail: React.FC = () => {
 
     return (
         <div>
-            <ImgPre></ImgPre>
+            {/* <ImgPre></ImgPre> */}
             <div className='questionAnswerList'>
                 <div style={{ height: '100%', marginLeft: '10px' }}>
                     <Form

+ 4 - 3
src/pages/deepseek/questionAnswer/list/index.tsx

@@ -643,7 +643,7 @@ const QuestionAnswerList: React.FC = () => {
                         display: 'flex',
                         justifyContent: 'space-between',
                         alignItems: 'center',
-                        overflow: 'auto'
+                        overflow: 'hidden',
                       }}>
                         <div style={{ display: 'flex', alignItems: 'center', overflow: 'auto' }}>
                           <div style={{ marginRight: 10, overflow: 'auto' }}>
@@ -662,6 +662,7 @@ const QuestionAnswerList: React.FC = () => {
                             display: 'flex',
                             flexDirection: 'column',
                             justifyContent: 'center',
+                            overflow: 'hidden',
                             height: '100%'
                           }}>
                             <Tooltip title={item.name} placement="top">
@@ -674,7 +675,7 @@ const QuestionAnswerList: React.FC = () => {
                                 whiteSpace: 'nowrap',
                                 // maxWidth: '200px', // 可以根据需要调整宽度
                                 cursor: 'pointer'
-                              }}>
+                              }}> 
                                 {item.name.length > 20 ? `${item.name.substring(0, 30)}...` : item.name}
                               </div>
                             </Tooltip>
@@ -752,7 +753,7 @@ const QuestionAnswerList: React.FC = () => {
                         // height: '100%'
                       }}>
                         <div style={{ 
-                          // overflow: 'auto' 
+                          overflow: 'auto' 
                           }}>
                           {
                             (item.status === '5' || item.status === '4' || item.status === '3' || item.status === '' || item.status === null) &&