我通过js对input的value进行修改
<input type="text" ng-model="edit.tpic"/>
但是$scope.edit.tpic其实并没有改变,还是空白。如何令被js自动填入的value也能被angular正常绑定?
海绵宝宝撒
相关分类