Explorar el Código

fix: 服务记录内容有换行符的情况下未换行

lanjianrong hace 4 años
padre
commit
0e6829004c

+ 1 - 1
src/pages/Customer/Client/components/ClientDetail/LowerList.tsx

@@ -145,7 +145,7 @@ export const ServiceLogItem: React.FC<ServiceLogItemProps> = ({ item, logType, u
             </div>
           </div>
         </div>
-        <div className="bg-white bg-opacity-80 rounded-sm text-black text-opacity-60 text-sm mt-3 p-2">
+        <div className="bg-white bg-opacity-80 rounded-sm text-black text-opacity-60 text-sm mt-3 p-2 whitespace-pre-line">
           {item.mark}
         </div>
         {item.isOperation ? (