Explorar o código

Merge remote-tracking branch 'origin/develop' into develop

zishan-an hai 11 meses
pai
achega
0a56fadb52
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      src/views/system/fieldDerive.vue
  2. 2 2
      src/views/system/fieldInfo.vue

+ 1 - 1
src/views/system/fieldDerive.vue

@@ -74,7 +74,7 @@
 
               <el-table-column align="center" label="字段状态" >
                 <template v-slot="{row}">
-                  <span>{{ row.status}}</span>
+                  {{ row.status==1 ? '已启用' : '已禁用' }}
                 </template>
               </el-table-column>
 <!-- 

+ 2 - 2
src/views/system/fieldInfo.vue

@@ -69,9 +69,9 @@
                 </template>
               </el-table-column>
 
-                  <el-table-column prop="state" label="状态" >
+                  <el-table-column prop="status" label="状态" >
                     <template slot-scope="scope">
-                      {{ scope.row.state ? '已启用' : '已禁用' }}
+                      {{ scope.row.status==1 ? '已启用' : '已禁用' }}
                     </template>
                   </el-table-column>