都不用发网络请求,自定义的对象都无法赋值
test(){
let obj={
name:"哈哈哈"
}
this.name=obj
}
onLoad() {
this.test()
console.log(this.name);
},
输出的结果是
"__ob__": {
"dep": {
"id": 10,
"subs": []
},
"value": {
"__ob__": {
"dep": {
"id": 10,
"subs": []
},
因篇幅问题不能全部显示,请点此查看更多更全内容
Copyright © 2019- huatuoyibo.net 版权所有 湘ICP备2023021910号-2
违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务