浏览代码

fix: 产品模型库名称展示

lvkun 2 年之前
父节点
当前提交
e4d9040d5d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/pages/Iot/model/detail.vue

+ 2 - 0
src/pages/Iot/model/detail.vue

@@ -10,7 +10,9 @@
         </a-col>
     </a-row>
   </template>
+  <h1 v-if="modelType === 'template'" >{{state.model?.modelLabel || "我是默认"}}</h1>
   <a-descriptions
+    v-else
     :column="{ xs: 1, sm: 1, md: 2, lg: 2, xl: 2}"
     :labelStyle="{color: '#8a8e99'}"
     :contentStyle="{fontSize: '12px'}"