使用i18n 多语言插件,功能能实现,但是一直报一个红 提示。

_self.lb_btn.node.getComponent(“LocalizedLabel”).dataID = ToolData.getLang(“去完成”);