Sfoglia il codice sorgente

fix: 产品模型库名称展示

lvkun 2 anni fa
parent
commit
e4d9040d5d
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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'}"