function processData2(responseText) {
var data = responseText;
var docjson = data.List;
console.log("178: " + docjson[9].Title)
var vm = new Vue({
el: "-sharpdocs",
data: {
docjson: docjson,
},
methods:{
showintro(infoId,infoType){
opennewpage(infoType + "intro.html?infoId=" + infoId, infoType + "intro", "slide-in-right", true, true);
},
}
});
}
<-- html-->
<div id="docs" class="mui-table-view mui-table-view-chevron list-atr">
<div class="item-list" v-for="(list,index) in docjson" :key="list.ImgUrl" v-on:click="showintro(list.DjLsh,"art")">
<div class="list-letf" >
<img :src="list.ImgUrl" class="list-img" />
</div>
<div class="list-right">
<div class="list-right-head">
<div class="list-title line-clamp1">{{list.Title}}</div>
<div class="list-name">{{list.UserPenName}}</div>
</div>
<div class="list-intro line-clamp1">{{list.Intro}}</div>
<div class="list-tagNav">
<div class="tag-text OrgColor">{{list.ViewNeedMoney *10 + ""}}</div>
<div class="tag-text" >{{list.ViewCount + ""}}</div>
<div class="tag-text" >{{list.CommentCount + ""}}</div>
</div>
</div>
</div>
</div>
after the first load, data can get the value of docjson and render it to the list. But after the pull-up load, although the value in docjson is updated, the list is not updated, and the last data is still displayed. Is it because the dynamic update of docjson has not been passed into data?