From 0ae7c15cbdae4ff42859ef73cb0cdcdfe82e49e3 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Mon, 26 Feb 2018 17:29:41 +0800 Subject: [PATCH] Fix Label default string issue --- cocos2d/core/components/CCLabel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2d/core/components/CCLabel.js b/cocos2d/core/components/CCLabel.js index 9cab544652..78f2a7de4c 100644 --- a/cocos2d/core/components/CCLabel.js +++ b/cocos2d/core/components/CCLabel.js @@ -179,7 +179,7 @@ var Label = cc.Class({ * @property {String} string */ string: { - default: 'Label', + default: '', multiline: true, tooltip: CC_DEV && 'i18n:COMPONENT.label.string', notify: function () {