【发布时间】:2024-05-23 12:10:02
【问题描述】:
{"status":true,"data":[{"ref_id":"22","agent_id":"68","p_id":"84","description":"i am interested"},{"ref_id":"24","agent_id":"68","p_id":"84","description":"For more information about Bootstrap and Bootstrap Glyphicons, visit our Bootstrap Tutorial.For more information about Bootstrap and Bootstrap Glyphicons, visit our Bootstrap Tutorial"}
如何使用vue js显示以上DATA值?
目前我使用,但不工作..
<table>
<tbody>
<tr v-for="post in posts">
<td>{{ post.p_id }}</td>
</tr>
</tbody>
</table>
【问题讨论】:
-
这是 ajax 响应吗?
-
{"status":true,"data":[{"ref_id":"22","agent_id":"68","p_id":"84","description":"i am interested"},{"ref_id":"24","agent_id":"68","p_id":"84","description":"For more information about Bootstrap and Bootstrap Glyphicons, visit our Bootstrap Tutorial.For more information about Bootstrap and Bootstrap Glyphicons, visit our Bootstrap Tutorial"}这是你的data吗? -
您如何获得此回复并显示您的
Vue js代码?
标签: javascript php html vue.js