<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->

- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.

## Ask your question here
![1678891955524](https://user-images.githubusercontent.com/31841743/225348655-2b03b0b0-2da0-4e34-bfd0-be07e6e54d60.jpg)
![1678891971675](https://user-images.githubusercontent.com/31841743/225348708-57f4df91-77c5-4b32-9e4e-cde573002ad2.jpg)
![image](https://user-images.githubusercontent.com/31841743/225348805-4a38363d-25c3-4245-ab33-ea1772c3f115.png)
可以看到按照图片顺序，properties中设置default属性，在我从configManager中打印的2个注册中心default值都为null,dubbo版本是3.0.12
*/
    private Integer weight;
    private String registerMode;
    private Boolean enableEmptyProtection;
    private String secure;
    public String getSecure() {
        return secure;
    }
    public void setSecure(String secure) {
        this.secure = secure;
    }
    public RegistryConfig() {
    }
    public RegistryConfig(ApplicationModel applicationModel) {
        super(applicationModel);
    }
    public RegistryConfig(String address) {
        setAddress(address);
    }
    public RegistryConfig(ApplicationModel applicationModel, String address) {
        super(applicationModel);
        setAddress(address);
    }
    public RegistryConfig(String address, String protocol) {
        setAddress(address);
        setProtocol(protocol);
    }
    public RegistryConfig(ApplicationModel applicationModel, String address, String protocol) {
        super(applicationModel);
        setAddress(address);