質問編集履歴

2

JavaScriptの修正

2017/12/04 01:52

投稿

m_yoko
m_yoko

スコア156

test CHANGED
File without changes
test CHANGED
@@ -188,15 +188,15 @@
188
188
 
189
189
  }
190
190
 
191
- Vue.set(this,clickCostomerInfomation,'new message');
191
+ Vue.set(this,clickCostomerInfomation,'new message');//ここが反映されない
192
-
192
+
193
- this.clickCostomerInfomation = 'new message';
193
+ this.clickCostomerInfomation = 'new message';//ここが反映されない
194
-
194
+
195
- this.costomerInfomationCompted='a';
195
+ this.costomerInfomationCompted='a';//ここが反映されない
196
-
196
+
197
- this.$nextTick();
197
+ this.$nextTick();//ここが反映されない
198
-
198
+
199
- vue.$forceUpdate()
199
+ vue.$forceUpdate()//ここが反映されない
200
200
 
201
201
  })
202
202
 

1

javascriptの修正

2017/12/04 01:52

投稿

m_yoko
m_yoko

スコア156

test CHANGED
File without changes
test CHANGED
@@ -190,9 +190,9 @@
190
190
 
191
191
  Vue.set(this,clickCostomerInfomation,'new message');
192
192
 
193
- this.clickCostomerInfomation = 'new message';//←ここのデータが再描画されない
193
+ this.clickCostomerInfomation = 'new message';
194
-
194
+
195
- this.costomerInfomationCompted='a';//←ここのデータが再描画されない
195
+ this.costomerInfomationCompted='a';
196
196
 
197
197
  this.$nextTick();
198
198
 
@@ -216,7 +216,7 @@
216
216
 
217
217
  // メソッド内の `this` は、 Vue インスタンスを参照します
218
218
 
219
- this.clickCostomerInfomation = 'test2';
219
+ thix.getCostomerInfomaitonAll(0);
220
220
 
221
221
  // `event` は、ネイティブ DOM イベントです
222
222