3.4.2 问题 fitHeight & setScale() ?

原本是这样
cc.Canvas.fitHeight = true;
this.node.setScale(width / 1334);

这两个属性都不能用了,有什么替代方案吗@@