Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upthis.store.data 对unshift 的支持有点问题 #65
Comments
|
好的,收到。 |
|
@dntzhang 您好 您推荐的这个框架如何用npm install进来呢? |
|
@hanwenbo 直接把这个目录拷下来~ |
|
哈哈 好的 简单粗暴 |
|
Hack 解法 const { typeList } = this.store.data; typeList.unshift(res.data); await this.update({ |
我用的是 cloud版本,this.store.data.Array.push结果是正确的。
this.store.data.Array.push(object);
一用到this.store.data.Array.unshift(object)就有问题,感觉是在diff的时候出问题