
navigator跳轉(zhuǎn)分為兩個(gè)狀態(tài)一種是關(guān)閉當(dāng)前頁(yè)面一種是不關(guān)閉當(dāng)前頁(yè)面。用redirect屬性指定。
主要屬性:

wxml
<navigator url="../index/index">點(diǎn)擊跳轉(zhuǎn)不關(guān)閉當(dāng)前頁(yè)面</navigator><navigator url="../logs/logs" redirect="true" >點(diǎn)擊跳轉(zhuǎn)關(guān)閉當(dāng)前頁(yè)面</navigator>
相關(guān)文章:
hello WeApp icon組件
Window text組件 switch組件
tabBar底部導(dǎo)航 progress組件 action-sheet
應(yīng)用生命周期 button組件 modal組件
頁(yè)面生命周期 checkbox組件 toast組件
模塊化詳 form組件詳 loading 組件
數(shù)據(jù)綁定 input 組件 navigator 組件
View組件 picker組件 audio 組件
scroll-view組件 radio組件 video組件
swiper組件 slider組件 Image組件
新聞熱點(diǎn)
疑難解答
圖片精選
網(wǎng)友關(guān)注