当前位置:网站首页>鸿蒙第三次培训
鸿蒙第三次培训
2022-06-22 20:03:00 【Makr小青】
路由的跳转:router.push(OBJECT),跳转到应用内的指定页面。
router.replace(OBJECT),用应用内的某个页面替换当前页面,并销毁被替换的页面。
router.back(OBJECT),返回上一页面或指定的页面。
router.clear(),清空页面栈中的所有历史页面,仅保留当前页面作为栈顶页面。
router.getLength(),获取当前在页面栈内的页面数量。
router.getState(),获取当前页面的状态信息。
swipe组件
目录结构

app.js 文件是对全局 JavaScript 逻辑和整个应用生命周期管理。
pages 目录作用是存放所有组件页面。
common 目录作用是存放公共资源文件
i18n 目录作用是配置不同语言场景资源内容
边栏推荐
- 53页智慧校园智能化系统设计方案(附下载)
- 程序员必看的学习网站
- CVPR2022 | 海德堡大学《深度视觉相似性与度量学习》教程
- Five uses of 87 with as
- 访问成功但抛出异常:Could not find acceptable representation
- Numpy learning notes (6) -- sum() function
- Baijia forum Huangdi Neijing (Part I)
- 513. find the value in the lower left corner of the tree / Sword finger offer II 091 Paint the house
- 查看苹果产品保修状态
- 为了不曾忘却的纪念:孙剑专题
猜你喜欢

R language airpassengers dataset visualization

Arcgis中las点云数据抽稀
![[redis]集群与常见错误](/img/a5/94906b62b1ec0d549f9b72ff3db7f2.png)
[redis]集群与常见错误

ByteDance proposes a lightweight and efficient new network mocovit, which has better performance than GhostNet and mobilenetv3 in CV tasks such as classification and detection
![[redis]Redis6的事务操作](/img/50/639867a2fcb92082ea262a8a19bb68.png)
[redis]Redis6的事务操作
![[cm11 linked list splitting]](/img/66/6ac3f78db20ec7f177b88c88028dde.png)
[cm11 linked list splitting]

为了不曾忘却的纪念:孙剑专题

【20. 有效的括号】

2022 group programming TIANTI race L1

Redis learning notes
随机推荐
百家讲坛 雍正十三年(下部)
redis学习笔记
RealNetworks vs. 微软:早期流媒体行业之争
Five uses of 87 with as
5分钟快速上线Web应用和API(Vercel)
Install MySQL in ECS (version 2022)
日本动漫作家和其部分作品
View Apple product warranty status
Laravel+ pagoda planning task
百家讲坛 武则天
为了不曾忘却的纪念:孙剑专题
访问成功但抛出异常:Could not find acceptable representation
程序员必看的学习网站
[redis]redis6 master-slave replication
Simulated 100 questions and simulated examination of hoisting machinery command examination in 2022
杰理之硬件上 DACL 输出,DAC 输出左右声道的声音【篇】
[21. merge two ordered linked lists]
78- several methods to solve SQL performance problems without changing code in production system
Baijia forum Wu Zetian
Fluent system architecture