setTag取消了用什么

Sorry, cc._BaseNode.tag is removed, please use name instead.
我在node使用tag 报上面的错误,但我name有用的,怎么办,只能随便用个字段了吗,vscode 有红线看的难受