Project uses vue-router , there are component An and component B, the label < router-view > shows component A, and there is an event an in component A that makes the content displayed in < router-view > become component B. how to call event b decla...
vue-router goes directly to the child route, and the parent route has not yet been loaded, resulting in whiteboard A routing structure like this: https: codepen.io anon pen E... when you click page1, and then click new win , you will find tha...
there is a requirement: the backend return status code-999 indicates that the token expires and the front end needs to skip to the login page. my code: http.js import axios from axios import Vue from "vue" import VueRouter...
due to business needs, multiple pages need to be used. Recently, routing redirection in multiple pages has encountered a problem: 1. There are two template files, index.html and exchange.html, corresponding to two entries. Vue.config.js is configured a...
< template > <div id="app"> <v-header> < v-header> <router-view >< router-view> <v-footer> < v-footer> <!-- <router-link to=&quo...
The jump code in the 1Vue component is as follows router.js route PS: passing parameters using query also jumps to a path with no parameters has a boss ever encountered such a strange problem? QAQ ...
want to do something to get the effect of each vue rendering and take screenshots (of course, some data is missing or because there are a lot of problems in the data state, some things may not be rendered but it is acceptable) there are quite a lot of ...
pages An and B, they can both jump to page C, C can jump to page D A, B-> C-> D now I am jumping back and forth between C and D, how to solve their order problem? also, how to determine whether it is entered from An or B. ...
Caiji encountered a problem: the router-view of app.vue is covered with a layer of keep-alive when switching between secondary pages, you can enter and leave watch $route however, if keepalive is removed, the watch is less than the entry and departu...
problem description There are many websites of document type. At present, vue-cli converts markdown files directly into pages through webpack plug-ins. There is a problem that each markdown file must be registered for routing, resulting in a huge rout...
problem description after clicking on another product, jump to this page to show the routing router-link component to property used < router-link: to= "{name: product , params: {productId:anotherProductId}} " > the environmental background of t...
vue ssr (nuxt) route jump, when jump back to the secondary page report 500error, how fat, can not find the reason is annoying. at first, the tab switch is normal, when you click to enter the secondary page, then click on the tab bar. Navigation ba...
navigator jumps normally when not using vue_router, and the error is reported as follows: ReportException: Exception: Error: Module build failed: Error: Cannot find module babel-core at Function.Module._resolveFilename (module.js:547:15) a...
1. Encapsulate a js file that intercepts the request status of axios. When the status code is 404, jump to the corresponding routing page. But how do you use routing in pure js, and how does the this in this.$router () point to the instance object of vu...
router.js sets the mode history, and the root directory is u. Now when you want to visit https: ip u , you can automatically jump to the home page https: ip u index,. How should I configure ? mode: history , require service support base: u...
existing: has the following pages: app.vue, a.vue, b.vue, Bread crumb navigation requirements app > a > b; a b page has strong reusability and is equal in router question: how to dynamically generate breadcrumb navigation when using neste...
has the following routes app.vue > a.vue > b.vue a.vue is a full-screen content b.vue is also a full-screen content, and less parts are shared with a, so you can ignore router-view at the bottom of a.vue . when a-> b, the content of an is above th...
when writing a project, I encountered a problem, that is, I configured the interceptor and route interception, did not report an error, felt OK, but would log in to the page successfully, after manipulating the data, then habitually click to refresh, an...
our front-end construction method is as follows: after the vue project build, the dist is sent to the server tomcat to restart. Now you want to send the two packaged project An and B to unified tomcat webapps and webapps- > projectB respectively. After ...
vue has the following route nesting: > app.vue > a.vue > b.vue app.vue is the ingress, an is a level 2 route, and b is a child of a when accessing the b route, the request written in an and some column hook events will be called repeatedly. What ...
Let the tooltip of the specified date be displayed when the echarts is initialized, without having to move the mouse up to display it, and then any zooming out will display the date information. ...
does any friend know that there is a library on git that can process gif images? is currently working on a back-end editing system. The day before yesterday, there is a rich text editor that can upload pictures. Receive the picture on the node side an...
now Mini Program has a page A that is transferred to the problem scenario. After the other pages jump to A, the A page does some business processing, and then jumps to the target page. The problem is that there is a return button in the upper left corne...
problem description the environmental background of the problems and what methods you have tried Val is a member variable of TreeNode structure stack.Peek () the return value is (bool, interface {}) related codes _, _top := stack.Peek() ...
now the requirement is that the display effect of the project website needs to be scaled to 80%. How to quickly implement it from css? ...