浏览代码

fix:修改是否赠送流量的默认值

zeng.chen 3 月之前
父节点
当前提交
58f0ee78fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/flowpackage/list/index.vue

+ 1 - 1
src/views/flowpackage/list/index.vue

@@ -267,7 +267,7 @@ export default {
     },
     // 是否赠送流量
     giftFormatter(row) {
-      return this.selectDictLabel(this.recommendOptions, row.isGift);
+      return this.selectDictLabel(this.recommendOptions, row.isGift ?? 1);
     },
     // 关联设备
     devFormatter(row) {