We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
旧版本2.09没问题,麻烦看看是不是有什么兼容问题。
新建的label带templatemode的,重新打开场景或者编辑下代码刷新同样也会丢失。
The text was updated successfully, but these errors were encountered:
我也遇到这个问题
Sorry, something went wrong.
看了下,是上次提交在label中假的if(!this.originText)return "";导致的
if(!this.originText)return "";
我在vmlabel.ts加了个保护暂时解决这个问题,在编辑器模式下不让他去改动这个值
setLabelValue(value) { if (CC_EDITOR) return; this.getComponent(this.labelType).string = value + ''; }
VMLabel 中 CC_EDITOR 条件取反了: start(){ if (CC_EDITOR) return; //修改此处 this.onValueInit(); }
No branches or pull requests
旧版本2.09没问题,麻烦看看是不是有什么兼容问题。
新建的label带templatemode的,重新打开场景或者编辑下代码刷新同样也会丢失。
The text was updated successfully, but these errors were encountered: