Skip to content

Commit

Permalink
v3.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
zack9433 committed Sep 27, 2017
2 parents aab99fe + d1774df commit 07934a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ templateOptions:
data: {
status: true
},
event: 'cloud:connection',
key: 'status'
event: 'cloud:connection'
}
```

Expand Down
2 changes: 1 addition & 1 deletion dist/sanji-core-ui.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "sanji-core-ui",
"author": "Zack Yang <[email protected]> (https://github.com/zack9433)",
"description": "sanji-core-ui",
"version": "3.4.3",
"version": "3.4.4",
"main": "dist/sanji-core-ui.js",
"config": {
"commitizen": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ConnectStatusComponent = {
$onInit() {
const mySocket = this.sjio.getSocket();
this.unSocketHandler = mySocket.on('sj:webapp:message', res => {
if (res.data && res.data.event === this.event) {
if (res.data && res.event === this.event) {
this.data = res.data[this.key];
}
});
Expand Down

0 comments on commit 07934a0

Please sign in to comment.