Просмотр исходного кода

feat: 客户抽屉详情锁的ui优化

lanjianrong 5 лет назад
Родитель
Сommit
40974da6e2

+ 5 - 5
src/pages/Customer/Company/components/CompanyDetail/TabList.jsx

@@ -66,11 +66,11 @@ const CompanyTabList = ({ initData, customerId, client, software, customer }) =>
       dataIndex: 'clientName',
       dataIndex: 'clientName',
       width: '30%',
       width: '30%',
       render: (clientName, record) => (
       render: (clientName, record) => (
-        <span
-          onClick={() => showDrawer(record.id)}
-          className="text-primary cursor-pointer hover:text-[#967bbd] line-clamp-1">
-          {clientName}
-        </span>
+        <div className="text-primary hover:text-[#967bbd] line-clamp-1">
+          <span onClick={() => showDrawer(record.id)} className="cursor-pointer ">
+            {clientName}
+          </span>
+        </div>
       )
       )
     },
     },
     {
     {

+ 1 - 1
src/pages/workbench/Dashboard/index.jsx

@@ -109,7 +109,7 @@ const Dashboard = () => {
           disabled: false,
           disabled: false,
           businessChar
           businessChar
         })
         })
-      }, 1000)
+      }, 300)
     }
     }
   }
   }