File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 36
36
"stylus-loader" : " ^3.0.1" ,
37
37
"subscriptions-transport-ws" : " ^0.9.5" ,
38
38
"vue" : " ^2.5.13" ,
39
- "vue-apollo" : " ^3.0.0-alpha.1 " ,
39
+ "vue-apollo" : " ^3.0.0-beta.5 " ,
40
40
"vue-cli-plugin-apollo" : " ^0.4.1" ,
41
41
"vue-router" : " ^3.0.1" ,
42
42
"vue-template-compiler" : " ^2.5.13" ,
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" logger-view" >
3
3
<ApolloQuery
4
+ ref =" logs"
4
5
:query =" require('../graphql/consoleLogs.gql')"
5
6
fetch-policy =" cache-and-network"
6
7
class =" logs"
8
+ @result =" scrollToBottom()"
7
9
>
8
10
<ApolloSubscribeToMore
9
- ref =" logs"
10
11
:document =" require('../graphql/consoleLogAdded.gql')"
11
12
:update-query =" onConsoleLogAdded"
12
13
/>
@@ -48,7 +49,6 @@ export default {
48
49
await this .$nextTick ()
49
50
const list = this .$refs .logs .$el
50
51
list .scrollTop = list .scrollHeight
51
- console .log (list .scrollHeight )
52
52
},
53
53
54
54
clearLogs () {
Original file line number Diff line number Diff line change @@ -10608,9 +10608,9 @@ vm-browserify@0.0.4:
10608
10608
dependencies :
10609
10609
indexof "0.0.1"
10610
10610
10611
- vue-apollo@^3.0.0-alpha.1 :
10612
- version "3.0.0-beta.4 "
10613
- resolved "https://registry.yarnpkg.com/vue-apollo/-/vue-apollo-3.0.0-beta.4 .tgz#2313f720875160befc22375c13a74c0bc2e87030 "
10611
+ vue-apollo@^3.0.0-beta.5 :
10612
+ version "3.0.0-beta.5 "
10613
+ resolved "https://registry.yarnpkg.com/vue-apollo/-/vue-apollo-3.0.0-beta.5 .tgz#d0aabd19683e50cd1ab2d24e2827e8fb579ff78e "
10614
10614
dependencies :
10615
10615
lodash.debounce "^4.0.8"
10616
10616
lodash.omit "^4.5.0"
You can’t perform that action at this time.
0 commit comments