Ver código fonte

通用组件修改

hujunwei@agilestar.cn 2 anos atrás
pai
commit
151c74caf2
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/el-form.vue

+ 1 - 1
src/components/el-form.vue

@@ -120,7 +120,7 @@ export default {
   methods: {
     columnbackgroundStyle({ row, column, rowIndex, columnIndex }) {
       if (column.type == "default") {
-        if (column.label === "文件标题"||column.label === "待办事项名称") {
+        if (column.property === "need_name"||column.property === "needName") {
           return "color:#0682CD;";
         }
       }