teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

()閉じが多かった

2018/01/14 01:29

投稿

holic
holic

スコア134

title CHANGED
File without changes
body CHANGED
@@ -98,7 +98,6 @@
98
98
  ]
99
99
  }
100
100
  })
101
- })
102
101
  </script>
103
102
  </body>
104
103
  </html>

3

dd

2018/01/14 01:29

投稿

holic
holic

スコア134

title CHANGED
File without changes
body CHANGED
@@ -108,7 +108,8 @@
108
108
 
109
109
 
110
110
  ###試したこと
111
- lig様が同じようなところで記事を書いておりましたが、
111
+ [lig様が同じようなところで記事](https://liginc.co.jp/223132)を書いておりましたが、
112
+
112
113
  この実装方法がわからずでした。
113
114
  vue.jsに詳しいお方がいらっしゃいましたら、是非ご教示くださいませ。
114
115
 

2

ff

2018/01/13 17:12

投稿

holic
holic

スコア134

title CHANGED
File without changes
body CHANGED
@@ -43,11 +43,15 @@
43
43
  new Vue({
44
44
  el: '.app',
45
45
  methods:{
46
+ currentSlugFlg:function(currentData){
47
+ //return currentData.slug === "/consulting/aaaa/"
48
+ return currentData.slug === location.pathname;
49
+ },
46
50
  isCurrent:function(currentData){
47
51
  //return currentData.slug === "/consulting/aaaa/"
48
52
  return currentData.slug === location.pathname;
49
53
  //return false;
50
- }
54
+ }
51
55
  },
52
56
  data: {
53
57
  consulting:[

1

dd

2018/01/13 17:11

投稿

holic
holic

スコア134

title CHANGED
File without changes
body CHANGED
@@ -8,10 +8,7 @@
8
8
 
9
9
 
10
10
  ###該当のソースコード
11
- ```js
11
+
12
- $('#point');
13
- ```
14
- 上記のjQueryをjavascriptに記述しようとしたら
15
12
  ```html
16
13
  <!DOCTYPE html>
17
14
  <html lang="ja">