navigation2 Write planner plug-in

Article directory navigation2 Write planner plug-in 1- Create a new planner plugin 2- Export planner plugin 1. To export the planner we need to provide two lines of code: 2. The next step is to create the plugin’s description file in the root directory of the package. For example, create the `global_planner_plugin.xml` file in our […]

element-ui left navigation bar component

The layout of the left navigation bar of element-ui is implemented, the effect is as follows Components involved: App.vue Router.js layout.vue: nav.vue (left navigation area, containing loop widget asideBarItem.vue), AppMain.vue (right main content area) The project structure is as follows: ? 1. App.vue, controls the rendering of the page through router routing, very simple, a […]

uniapp custom navigation bar

Customized navigation bar Modify pages.json Set navigateionStyle to custom in pages.json New systemInfo.js systemInfo.js is used to obtain the model system information of the current device and place it in the common directory. /** * This js file manages model system information about the current device */ const systemInfo = function() {<!– –> /****************** System […]

Use Amap SDK to develop simple navigation App for Android

First refer to the Amap Open Platform SDK Development Guide: Under Documentation and Support-Android platform, you can choose which type of development to refer to. Step 1: Configure Android Studio Android Studio is very troublesome to configure, and various problems will inevitably occur, causing me to crash several times. Into the title: 1. New project […]

[Oracle] Two ways for Navicat Premium to connect to Oracle

Navicat Premium Use release notes Navicat? Premium version 11.2.16 (64-bit) 1. Configure OCI 1.1 Configure OCI environment variables 1.1.2 Settings\Advanced System Settings 1.1.2 System Properties\Advanced\Environment Variables (N) 1.1.3 Modify/add system variables ORACLE_HOME ORACLE_HOME D:\app\root\product\12.1.0\dbhome_1 1.1.4 Add system variable TNS_ADMIN TNS_ADMIN %ORACLE_HOME%\ ETWORK\ADMIN\ 1.1.5 What happens if OCI environment variables are not configured? Cannot create oci […]

Render MarkDown in antd and customize an anchor directory TOC (focusing on solving the problem that the navigation directory does not follow the scrolling of the document)

1. Overall idea Since there are many long documents that need to be rendered, I think the MarkDown method is more suitable for management, so I have tested integrating the MarkDown rendering module in antd in the past two days. General idea reference: https://blog.csdn.net/Sakuraaaa_/article/details/128400497 Thank you for your generous efforts. Parse MarkDown using react-markdown Use […]

The new version of jetpack navigation2.5.3 returns repeated creation of fragments

When navigation returns, it will re-create the version of the fragment before 2.3.5, most of the modifications (the new version is invalid): override fun navigate( destination: Destination, args: Bundle?, navOptions: NavOptions?, navigatorExtras: Navigator.Extras? ): NavDestination? { if (mFragmentManager.isStateSaved) { Log.i( TAG, “Ignoring navigate() call: FragmentManager has already” + “saved its state” ) return null } […]

vue2 skill tree (11) – routing installation and basic configuration, routing navigation, nested routing

Directory Routing installation and basic configuration Install Vue Router Configure Vue Router Create a Vue component Using Vue Router in your application Define routes in your application Create routing view Complete project example Detailed explanation of route navigation Basic navigation Via route link “ Project examples Programmatic navigation Project examples Nested route navigation Project examples […]

Solve Vue error: Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location

1. When clicking navigation repeatedly, an error message appears on the console Solution: Option 1: Just add the following code under the router folder: import Vue from ‘vue’ import VueRouter from ‘vue-router’ import Home from ‘@/views/Home’ import Main from ‘@/views/Main’ import User from ‘@/views/User’ Vue.use(VueRouter) // 0. If you use the modular mechanism to program […]