大神回答下, 如何将SharedCanvas显示到节点上?

下面的是SharedCanvas代码, 画一个矩形, 如何显示到游戏界面中?
我按照官方教程里面的 http://docs.cocos.com/creator/manual/zh/publish/publish-wechatgame-sub-domain.html?h=texture2d 写法, 一直不显示. 拜托了, 研究几个小时了…,

class SortList{
constructor(){
this.canvas = wx.getSharedCanvas();
this.ctx = this.canvas.getContext(‘2d’)
}
play(){
this.ctx.fillStyle = ‘red’
this.ctx.fillRect(0, 0,500, 500)
}
}
var aaa = new SortList()
aaa.play()

它是有一张图片去接收的,你添加sprite了吗