Explorar el Código

修复首页办理状态在流程异常时数据处理错误的bug

cfort hace 3 años
padre
commit
98792863f0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/system/dashboard/components/new-home.vue

+ 1 - 1
src/views/system/dashboard/components/new-home.vue

@@ -86,7 +86,7 @@
                                         </el-tooltip>
                                     </template>
                                     <template slot-scope="scope">
-                                        <el-tag :type="stateOption[scope.row.state].type">{{ stateOption[scope.row.state].label }}</el-tag>
+                                        <el-tag :type="scope.row.state ? stateOption[scope.row.state].type : ''">{{ scope.row.state ? stateOption[scope.row.state].label : '待办理' }}</el-tag>
                                     </template>
                                 </el-table-column>
                                 <el-table-column