ant vue a-table 动态改变表头的值

在这里插入图片描述

 {
          title: () => (this.dataSource[0] && this.dataSource[0].awardType=="6"  ? '翻倍倍数' : '奖励值'),
          align: "center",
          key: "signPoints",
          type: JVXETypes.inputNumber,
        },
posted @ 2022-03-03 08:43  Cupid05  阅读(414)  评论(0编辑  收藏  举报