소스 검색

fix: 次数限制 转中文

xyh 5 달 전
부모
커밋
16efa9a5b8
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/pointsManagement/pointsRules/compontents/Activity_editBox.vue

+ 1 - 1
src/views/pointsManagement/pointsRules/compontents/Activity_editBox.vue

@@ -242,7 +242,7 @@
                 </el-table-column>
                 <el-table-column label="次数限制" width="120">
                   <template slot-scope="scope">
-                    <span v-if="type === 'view'">{{ scope.row.frequencyLimitValue }}</span>
+                    <span v-if="type === 'view'">{{ taskLimitTimes.filter(item => item.value === scope.row.frequencyLimitValue)[0].label }}</span>
                     <template v-else>
                       <div style="margin-bottom: 20px">
                       <DictSelect v-model="scope.row.frequencyLimitValue" :dictOptions="taskLimitTimes" placeholder="请选择"/>