vue的缓存---用户4344670
activated() {
this.$nextTick(() => {
// activated
if (this.writerList.length > 0) {
let cId = localStorage.getItem("cardIndex");
let cFlag = localStorage.getItem("cFlag");
console.log("标志", cFlag, "序号", cId);
console.log(cId, this.writerList);
if (cId && cFlag === "true") {
this.writerList[cId].status = 14;
}
}
});vue的缓存.png
---来自腾讯云社区的---用户4344670

微信扫一扫打赏
支付宝扫一扫打赏