5.10航天ui交易所pc端,代码jiem-pc
lxf
2025-07-06 c2a1a725ad13212723e0fddd078616d0af67d5c7
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 }) {