节点属性有默认值,为什么映射在creator上面无效

  • Creator 版本:v2.07

*一个入门级问题

cc.Class({
    extends: cc.Component,
    properties: {
        label: {
            default: null,
            type: cc.Label
        },
        // defaults, set visually when attaching this script to the Canvas
        text: 'Hello!'
    },
    // use this for initialization
    onLoad: function () {
        this.label.string = this.text;
        console.log("学习");
        console.log(this.text);
    },

`
this .text映射到creator上面这个text后,如果我想使用代码里面的默认值,应该怎么做,才能使默认值生效,就算text属性框里面没有值,this.text也是没有值。
为什么Text属性框里面值没有和代码的默认值相互映射?

https://docs.cocos.com/creator/manual/zh/getting-started/cocos2d-x-guide.html?q=

谢谢,看了,大概是数据驱动的原因,有些地方还是有点不理解,我在多看几遍,理解一下