1. Routing and page jump uni.navigateTo(OBJECT) Keep the current page and jump to a page in the application. Use uni.navigateBack to return to the original page. uni.redirectTo(OBJECT) Close the current page and jump to a page in the app. Close all pages and open a page in the app. Jump to the tabBar page and close all other non-tabBar pages. uni.navigateBack(OBJECT) Close the current page and return to the previous page or multiple pages. You can use getCurrentPages() to get the current page stack and decide how many levels to return. 2. Interface Interactive Feedback a. uni.showToast(OBJECT) Displays a message prompt box. SummarizeThis article ends here. I hope it can be helpful to you. I also hope you can pay more attention to more content on 123WORDPRESS.COM! You may also be interested in:
|
<<: VMware15/16 Detailed steps to unlock VMware and install MacOS
>>: HTML Table Tag Tutorial (47): Nested Tables
How to achieve internationalization in React? The...
Table of contents 1. Instructions for use 2. Prep...
For .net development, I am more familiar with Mic...
Preface Usually, a "paging" strategy is...
Mouse effects require the use of setTimeout to ge...
All previous projects were deployed in the Window...
First, install PHP5 very simple yum install php T...
1. Check the currently installed PHP packages yum...
Q1: What indexes does the database have? What are...
The following two errors were encountered when co...
Install boost There are many ways to call C/C++ f...
This article records some major setting changes w...
Table of contents 1. Overview 2. Parameters for c...
For a website, it is the most basic function. So l...
The installation of MySQL 5.7 on Ubuntu 1804 is i...