|
@@ -137,7 +137,8 @@
|
|
|
axios.get('http://www.googo.org:8080/domain/'+qry)
|
|
|
.then((response) => {
|
|
|
var sitename = document.getElementById('sitename');
|
|
|
- sitename.innerHTML =response.data.SiteName;
|
|
|
+ var obj = JSON.parse(response.data);
|
|
|
+ sitename.innerHTML =obj.SiteName;
|
|
|
|
|
|
// sitename.innerHTML =response.data
|
|
|
|
|
@@ -146,8 +147,7 @@
|
|
|
console.log(response.statusText);
|
|
|
console.log(response.headers);
|
|
|
console.log(response.config);
|
|
|
- alert(response.data);
|
|
|
- alert(response.data.SiteName);
|
|
|
+ alert(obj);
|
|
|
|
|
|
});
|
|
|
|