当前位置:网站首页>鸿蒙第三次培训
鸿蒙第三次培训
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 目录作用是配置不同语言场景资源内容
边栏推荐
- 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]三种新数据类型
- The access succeeds but an exception is thrown: could not find acceptable representation
- ACM. HJ45 名字的漂亮度 ●●
- [160. cross linked list]
- MySQL adds (appends) prefix and suffix to a column field
- PlainSelect.getGroupBy()Lnet/sf/jsqlparser/statement/select/GroupByElement;
- Ultrafast transformers | redesign vit with res2net idea and dynamic kernel size, surpassing mobilevit
- [records of different objects required by QIPA]
- 基于AI驱动大分子药物发现,「华深智药」获近5亿元A轮融资
猜你喜欢

Simulated 100 questions and simulated examination of hoisting machinery command examination in 2022

NFT,只可远观不可亵玩焉

【20. 有效的括号】

2022 a special equipment related management (elevator) examination questions and simulation examination

【206. 反转链表】

云服务器中安装mysql(2022版)
![[redis]redis6 transaction operations](/img/50/639867a2fcb92082ea262a8a19bb68.png)
[redis]redis6 transaction operations

长安旗下阿维塔科技增资扩股落定:宁德时代将持股约24%!

【ICML2022】利用虚拟节点促进图结构学习
![[cm11 linked list splitting]](/img/66/6ac3f78db20ec7f177b88c88028dde.png)
[cm11 linked list splitting]
随机推荐
[redis] cluster and common errors
解决phpstudy中mysql无法启动,与本地安装的mysql冲突
Pytorch's model saving, loading and continuing training
View Apple product warranty status
53页智慧校园智能化系统设计方案(附下载)
[Jianzhi offer] interview question 44 A digit in a sequence of numbers
采用网络远程访问树莓派。
Operation of simulation test platform for 2022 Shandong safety officer C certificate test
[redis] profile
Moke 6. Load balancing ribbon
2022团体程序设计天梯赛L1
[142. circular linked list II]
[redis]redis的持久化操作
80- paging query, not only writing
优化求解器 | Gurobi的MVar类:矩阵建模利器、求解对偶问题的备选方案 (附详细案例+代码)
One line of code binds swiftui view animation for a specific state
[the penultimate node in the linked list]
2022年A特种设备相关管理(电梯)考题及模拟考试
72 results and development suggestions of the latest on-site production system optimization
Learning websites that programmers must see