the problem is not easy to describe. I will add the picture and text to describe the problem in detail this is the configuration relationship of router vuexweb_searchInfovuex Note: as shown in the picture, there is a way to create a n...
{ path: information , name:"information", meta:{ keepAlive:true }, component: function (resolve) { require([ @ view personal components information information ], resolve) }, }, meta:{ keepAlive:true }...
routes: [ { , home path: , component: resolve => require([ .. pages home.vue ], resolve), meta: { title: home } }] componentresolve => requirecomponent ...
when res.body is undefined through the query, it is because body-parser is not loaded, but I do not have such a problem, but I also return undefined. What the heck is it? server.js body-parser const express = require( express ); const mongoose = ...
two questions what is the difference between 1.router.routes and router.options.routes? Print router, the latter is always available, the former sometimes does not have 2. After changing the meta of a route in router.route or router.options.routes, pr...
background : page A scrolls to position 800 and jumps to page B, where page B is also at position 800 (if page B is not high enough, it is at the bottom). A page: keepalive is true B page: keepalive is false case 1 : page B remains unchanged-- ret...
const Home = Loadable({ loader : () => import( . Home ), loading:Loading }); const Page = Loadable({ loader : () => import( . Page ), loading:Loading }); class App extends React.Component{ render(){ return ( ...
I can understand the function and usage of $stateProvider in angular-ui ui-router, but what is $stateRegistryProvider for? ask the boss for advice. It would be nice to have an example. ...
.01 Sub-routing in the above figure routing version: 4.2.2, both the new and the old have been tried ...
Why does routing from user to user 123 not trigger the getinfo function watch: { "$route ": "getinfo " } methods: { getinfo () { console.log("") } } ...
vue project, when doing router.push ({path: dic }) , the dic page needs to load more data in mounted, which takes a long time. When performing a route jump, it gives the impression that you load the data first (stay on the original page for a second ...
problem description We know that @ angular router provides RouteGuard for access control of routing and navigation, and provides two ways to use guard, such as CanActivate and CanActivateChild, such as . routes = [ { path: advisors :id ...
problem description I currently have a router with multiple mobile devices connected to the router (using WIFI) to connect to the network. I need every mobile device can connect to the same router, but the IP for accessing the external network is di...
recently found a problem, such as when the IP address is 192.168.96.190 and the gateway is 192.168.8.1, there is no default route. When the IP address is 192.168.96.190 and the gateway is 192.168.96.1, there is a default route. what is this phenomenon? ...
when I use the CanDeactivate route guard to handle the operation when leaving from the current route, I will determine whether the data of the current route page is saved, if not, I will pop up a prompt, and then when the user clicks Yes, CanDeactivate ...
routing nesting has a total of three layers first layer: <div class="home"> <router-view>< router-view> < div> second layer: <div class="page1"> <router-view>< router-view...
when someone randomly enters an address in the address bar, I want to judge whether the path he entered is a valid path, jump if it is a valid path, or jump to the home page if it is not a valid path what if you get all the routes ...
the younger brother of this project uses the vue bucket to make a single-page application. now wants to render a skeleton of the current page before the app.js is loaded. but the ui of each page is not exactly the same. I would like to ask: before ...
import React from react import { connect } from react-redux import { addToCart } from .. actions cart-actions let AddTodo = ({ dispatch }) => { let input = ; return ( <div> <form o...
after obtaining the video address, put it in src= {videoUrl} here render(){ const _self = this; let examineTag = _self.state.examineTag; let videoShowStyle = { float: left } let videoShowStyl...