瀏覽代碼

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}>
             <>