Skip to content

Commit 622bfb9

Browse files
authored
Update push-vue.js
1 parent d64242f commit 622bfb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/push-vue.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ function __ajax(options) {
693693
options = options || {};
694694
options.type = (options.type || 'GET').toUpperCase();
695695
options.dataType = options.dataType || 'json';
696-
params = formatParams(options.data);
696+
var params = formatParams(options.data);
697697

698698
var xhr;
699699
if (window.XMLHttpRequest) {
@@ -729,4 +729,4 @@ function formatParams(data) {
729729
arr.push(encodeURIComponent(name) + '=' + encodeURIComponent(data[name]));
730730
}
731731
return arr.join('&');
732-
}
732+
}

0 commit comments

Comments
 (0)