<script type="text/javascript">
var initialData = <%= new JavaScriptSerializer().Serialize(Model) %>;
var viewModel = {
variables: ko.observable(initialData.Variables),
//...
};
$(document).ready(function(){ko.applyBindings(viewModel);});
</script>
<body>
<table data-bind="with:variables">
<tr><td><input data-bind="value: description"/></td></tr>
<tr><td><input data-bind="value: description"/></td></tr>
</table>
</body>
更新第一行时,不更新第二行。问题是什么?