xiongchao 3 yıl önce
ebeveyn
işleme
c623dc75a9

+ 1 - 1
src/views/sb/info/modules/BaseForm.vue

@@ -523,7 +523,7 @@
           >
             <a-input
               style="width: 70%"
-              :defaultValue="item.name"
+              :defaultValue="item.content"
               disabled
             />
             <a-button style="width: 30%" type="primary" @click="handleDelParam(index)">删除</a-button>

+ 2 - 3
src/views/sb/info/modules/Detail.vue

@@ -55,9 +55,8 @@
         <detail-list-item term="备注">{{ model.remark }}</detail-list-item>
       </detail-list>
       <title-divider width="120px" title="自定义参数"></title-divider>
-      <detail-list v-for="item in paramList" title="" :col="3">
-        <detail-list-item term="参数名称">{{ item.name }}</detail-list-item>
-        <detail-list-item term="参数内容">{{ item.content }}</detail-list-item>
+      <detail-list v-for="item in paramList" title="" :key="item.name" :col="3">
+        <detail-list-item :term="item.name">{{ item.content }}</detail-list-item>
       </detail-list>
       <title-divider title="资产编号" width="90px"></title-divider>
       <detail-list title="" :col="3">