lanjianrong 4 年之前
父节点
当前提交
792aea7018
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/Customer/Client/components/ClientDetail/TabList.jsx

+ 1 - 1
src/pages/Customer/Client/components/ClientDetail/TabList.jsx

@@ -186,7 +186,7 @@ const ClientTabList = ({ clientId, software, updatePayload }) => {
 
   const initCloudData = async () => {
     setState({ ...state, loading: true })
-    const { code, data } = await queryRoadPricingListWithParams({ clientId })
+    const { data = [] } = await queryRoadPricingListWithParams({ clientId })
     setState({ ...state, cloud: data, loading: false })
   }