Browse Source

🎈 perf: 优化自动乐跑次数的显示

Pchen. 4 months ago
parent
commit
fda74ae90a

+ 1 - 1
src/pages/admin/lepaoAccount/accountList.vue

@@ -104,7 +104,7 @@
                     {{ record.sex === 1 ? '男' : (record.sex === 2 ? '女' : '') }}
                     {{ record.sex === 1 ? '男' : (record.sex === 2 ? '女' : '') }}
                 </template>
                 </template>
                 <template #auto_run="{ record }">
                 <template #auto_run="{ record }">
-                    <a-tag color="green" v-if="record.auto_run">{{ record.target_count === 0 ? '开启-不限' :
+                    <a-tag color="green" v-if="record.auto_run">{{ record.target_count === 0 ? '开启-∞次' :
                         `开启-${record.target_count}次` }}</a-tag>
                         `开启-${record.target_count}次` }}</a-tag>
                     <a-tag color="red" v-else>关闭</a-tag>
                     <a-tag color="red" v-else>关闭</a-tag>
                 </template>
                 </template>

+ 1 - 1
src/pages/lepao/accountList/index.vue

@@ -189,7 +189,7 @@
             filter: (value, record) => record.auto_run == value
             filter: (value, record) => record.auto_run == value
           }">
           }">
             <template #cell="{ record }">
             <template #cell="{ record }">
-              <a-tag color="green" v-if="record.auto_run">{{ record.target_count === 0 ? '开启-不限' :
+              <a-tag color="green" v-if="record.auto_run">{{ record.target_count === 0 ? '开启-∞次' :
                 `开启-${record.target_count}次` }}</a-tag>
                 `开启-${record.target_count}次` }}</a-tag>
               <a-tag color="red" v-else>关闭</a-tag>
               <a-tag color="red" v-else>关闭</a-tag>
             </template>
             </template>