就是图片那样 r1和r2两个表 r2的外键pid指向r1的id 控制器里面我直接用select分别循环所有字段 然后前端我想r1的数据放在div1里面 如果循环输出的话会有3个div1 关键是r2的输出 我把r2的数据输出到div2里面 问题的关键是我想让r2的数据对应的和r1在一起 比如pid位1 ...
In this article, I'm going to look at the JavaScript data-binding library Knockout.js. I'll expand on my previous article by removing the external templating library and using Knockout to bind and ...
In this article, I'm going to look at the JavaScript data-binding library Knockout.js. I'll expand on my previous article by removing the external templating library and using Knockout to bind and ...