diff --git a/src/views/GameView.vue b/src/views/GameView.vue
index 9bdfe35..edb68e5 100644
--- a/src/views/GameView.vue
+++ b/src/views/GameView.vue
@@ -43,7 +43,7 @@ export default {
城市
- 新野
+ {{selectedstatus.name}}
太守
@@ -90,7 +90,7 @@ export default {
- 武力
+ 武将
5
@@ -137,6 +137,7 @@ export default {
{ 位置: '襄平', 人口: 1223 },
],
};
+ var theself = this;
this.selectedstatus = {name : "wow"};
this.legendVisible = false;
this.chartSettings = {
@@ -211,9 +212,12 @@ export default {
},
};
this.chartEvents = {
- click(e) {
- () => this.selectedstatus = e;
+ click(e){
+ theself.selectedstatus = e;
+ theself.$forceUpdate();
console.log(e);
+ console.log(this);
+ console.log(theself);
},
mouseover(e) {
console.log(e.name);