소스 검색

fix: bug#5235、5207、5164、5113、5005、4961、4971、5353

xieyonghong 3 년 전
부모
커밋
4c8d57cd26
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/pages/device/Instance/Detail/Functions/index.tsx

+ 1 - 1
src/pages/device/Instance/Detail/Functions/index.tsx

@@ -15,7 +15,7 @@ const Functions = () => {
 
   return (
     <Card className={'device-detail-function'} style={{ minHeight: minHeight }}>
-      {functionList ? (
+      {functionList && functionList.length ? (
         <Tabs>
           <Tabs.TabPane tab={'精简模式'} key={1}>
             <>