whj пре 1 година
родитељ
комит
2c6f978878
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/project/Project.vue

+ 1 - 1
src/views/project/Project.vue

@@ -123,7 +123,7 @@ export default {
           title: '厂区',
           dataIndex: 'flag',
           customRender: (text, record, index) => {
-            return text != -1 ? this.BaseTool.Object.getField(this.flagMap, text) : '混合厂区'
+            return text === 1 || text === 2 ? this.BaseTool.Object.getField(this.flagMap, text) : '混合厂区'
           }
         },
         {