小程序转uni-app用到的一些方法

setData: function (obj) {
    let that = this;
    Object.keys(obj).forEach(function (key) {
        that.$set(that.$data, key, obj[key])
    });
},

posted on 2019-04-18 16:00  诚明小巫  阅读(239)  评论(0编辑  收藏  举报

导航