|
|
@@ -75,10 +75,11 @@
|
|
|
axios.post('http://61.164.207.46:8000/yos/rest/index', param)
|
|
|
.then(function (response) {
|
|
|
console.log(response)
|
|
|
- for (var i=0;i<response.length -1;i++){
|
|
|
+ console.log(response.data.data.length)
|
|
|
+ for (var i=0;i<response.data.data.length -1;i++){
|
|
|
a='<div class="div-border">';
|
|
|
a += '<img src="./img/word.svg" class="img-style">';
|
|
|
- a += '<div class="content-style">'+response[i].remarks+'</div>';
|
|
|
+ a += '<div class="content-style">'+response.data.data[i].remarks+'</div>';
|
|
|
a+='</div>';
|
|
|
$(".boxContainer").append(a);
|
|
|
}
|