parent
8e2299de2a
commit
fc6e68dc5c
|
@ -10,10 +10,10 @@ md-toolbar(class="main-nav background-regal l-pinned-top l-layer-5",scroll-y-off
|
|||
ul(ng-class="appCtrl.showMainNav ? 'is-visible' : ''")
|
||||
li.l-left <a class="main-nav-button" href="/features.html" md-button>特性</a>
|
||||
li.l-left <a class="main-nav-button" href="/docs/#{language}/latest/" md-button>文档</a>
|
||||
li.l-left <a class="main-nav-button" href="/events.html" md-button>事件</a>
|
||||
li.l-left <a class="main-nav-button" href="/events.html" md-button>开发者会议</a>
|
||||
li.l-left <a class="main-nav-button" href="/news.html" md-button>新闻</a>
|
||||
li.l-left <a class="main-nav-button" href="/translate/cn/about.html" md-button>关于中文版</a>
|
||||
li.l-left <a class="main-nav-button" href="https://angular.io/" md-button target="_blank">官网(被墙)</a>
|
||||
li.l-left <a class="main-nav-button" href="https://angular.io/" md-button target="_blank">官网</a>
|
||||
li.l-right <a class="main-nav-button" href="/docs/ts/latest/quickstart.html" md-button>立即开始!</a>
|
||||
li.l-right
|
||||
a.main-nav-button.md-button(ng-click="appCtrl.toggleSource($event)", href)
|
||||
|
|
|
@ -355,6 +355,7 @@ block get-heroes-details
|
|||
### Put
|
||||
|
||||
Put will be used to update an individual hero. Its structure is very similar to Post requests. The only difference is that we have to change the url slightly by appending the id of the hero we want to update.
|
||||
|
||||
Put用来编辑一个指定的英雄,但是代码结构和POST请求很相似。唯一的不同是,我们要修改url,为它附加上我们想要编辑的那位英雄的id。
|
||||
|
||||
+makeExcerpt('app/hero.service.ts', 'put')
|
||||
|
|
Loading…
Reference in New Issue