Skip to content

Commit 8fdbaa8

Browse files
committed
string
1 parent 68d0e06 commit 8fdbaa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function request(target, data) {
3939
///////////////////////////////////
4040
function requestUser() {
4141
return request('ip', null).then(prom => {
42-
user = JSON.stringify(prom)
42+
user = String(prom)
4343
console.log("user ", user)
4444
})
4545
}

0 commit comments

Comments
 (0)