Преглед изворни кода

fix(web): 家庭管理列表优惠券数量=0 也可点击进入三合一页(对齐规格 §6.3)

Agnes Agent пре 1 недеља
родитељ
комит
ce07c5dd67
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      cfc-web/src/views/Families.vue

+ 1 - 2
cfc-web/src/views/Families.vue

@@ -79,8 +79,7 @@
         </el-table-column>
         <el-table-column prop="couponCount" label="优惠券数量" width="100">
           <template slot-scope="scope">
-            <el-link v-if="scope.row.couponCount > 0" type="primary" :underline="false" @click.stop="goCouponManage(scope.row.id)">{{ scope.row.couponCount }}</el-link>
-            <span v-else class="cell-zero">0</span>
+            <el-link type="primary" :underline="false" @click.stop="goCouponManage(scope.row.id)">{{ scope.row.couponCount }}</el-link>
           </template>
         </el-table-column>
         <el-table-column label="操作" width="250" fixed="right">