一般正常
screen_areas:[
"青羊區(qū)",
"雙流區(qū)",
"高新區(qū)",
"武侯區(qū)"
],
//點擊事件
click:function(index){
//這樣修改有時不會刷新界面
this.screen_areas[1] = "郫都區(qū)"
//這時我們需要使用另外一只設置值的方式
this.$set(this.screen_areas,index,'郫都區(qū)')//這樣就可以正常顯示了
//如果是字典的話this.$set(this.dict,key,value)
}