发表于: 2017-03-17 23:36:28
1 1490
今天完成的事情:
1.joblist页面的呈现,以及搜索功能。
遇到的问题:
在别人的插件的基础上封装了分页指令。但是由于执行顺序问题,还存在一些错误。明天继续再看看。
明天计划的事情:
完善joblist页面。模态框;分页指令的调整。
完成职位编辑页面。
收获:
消除h5自带的表单验证。
validate=“novalidate”
关于jq的回调函数(今天师兄面试回来说问到了这个,想了下面试官应该是想听到异步吧):
A callback is a function that is passed as an argument to another function and is executed after its parent function has completed.
总结起来的重点:异步执行。
熟悉了一波angular的表单:
<select name="" ng-model="vm.cate" id="jobClass">
<option ng-repeat="x in vm.cateType" value="{{x.type}}">{{x.name}}</option>
</select>
评论