在js中我写了
$scope.check = function () {
$scope.searchName = "";
$.post("http://172.22.71.107:8888/check/", {},
function (arg_result) {
if (arg_result.Ret == 0) {
$scope.users = [];
$scope.users = arg_result.Data;
console.log($scope.users);
}
}, "json");
但是在html中,数据在收到结果时无法更新,这是怎么回事?