瀏覽代碼

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>
         <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">