瀏覽代碼

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="请选择"/>