소스 검색

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) {