Can the WeChat Mini Programs this.setData () method update an in data: {abc: {a: "b"} separately?

Page({
    data: {
        cfg: {
            num: [1, 2, 3],
            foo: function(){

            }
        }
    },

    onLoad: function() {
        this.setData({})
    }
})

I want to replace only the value of num instead of the whole cfg,. Is there a way to do that

May.10,2021

Yes: https://developers.weixin.qq.

this.setData({
    'cfg.num': []
})
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb6b99-4faca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb6b99-4faca.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?