5.10航天ui交易所pc端,代码jiem-pc
lxf
2025-06-30 4cbc5a9d0f04b1d9b1f44563a5f99af9fb35e470
src/components/constract/PerpetualContract/positionCom/currentPosition.vue
@@ -158,9 +158,9 @@
        : this.$t("message.home.kaikong");
    },
    formatterData(row) {
      const ratio = this.ratioFormatter(row);
      const profit = Number(row.profit).toFixed(6);
      return `${profit}(${ratio})`;
      // const ratio = this.ratioFormatter(row);
      // const profit = Number(row.profit).toFixed(6);
      return `${row.profit}(${row.change_ratio}%)`;
    },
    //设置单个单元格样式   行下标:rowIndex    列下标:columnIndex
    cellStyle({ row, column, rowIndex, columnIndex }) {