Explorar el Código

Merge fix/family-coupon-zero-clickable: 家庭列表优惠券数量=0 可点击(对齐规格 §6.3)

Agnes Agent hace 1 semana
padre
commit
4cbd282de4
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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>
         <el-table-column prop="couponCount" label="优惠券数量" width="100">
         <el-table-column prop="couponCount" label="优惠券数量" width="100">
           <template slot-scope="scope">
           <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>
           </template>
         </el-table-column>
         </el-table-column>
         <el-table-column label="操作" width="250" fixed="right">
         <el-table-column label="操作" width="250" fixed="right">