problem description
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
/ / Please paste the code text below (do not replace the code with pictures)
is not a professional front end. Ask for advice
have you realized it? Is that what I need now? Ask for a tutorial
if I go to the background to query the details according to the id in the created method of the component, it can be displayed normally without reporting an error, but when the id value of the parent component is changed, it will not be again....
now there is a demand like this: click on an item in the commodity list (figure 1), and you will get the id, of the product and then pass it into the commodity details interface (figure 2). After receiving the id of the commodity, the commodity details ...
after refreshing the page, only the parameters of the index received by the parameter id, are lost. What s going on. ...
1. There is a data content [ axiaxiajiaoyuzhong ] content is dynamic [more than 5] when a screen displays only one element in the array and changes the content when it slides on the screen. How should I write this? If you use rotation, do you have any...
The project is based on the background management developed by vue, which needs to be controlled by permission classes. The backend says that he will control it. The login has the route requested from the page that can be accessed according to the accou...
after reading many articles, the skeleton screen is applied to the first screen rendering. Generally, the skeleton screen is rendered on the-sharpapp node of the index.html page of vue, so once the first screen rendering is completed, the skeleton screen...
Is there an abstract route similar to that in angular in vue-router? { path: children:[ { { path: demo foo component:foo }, { path: demo bar ...
When the a page switches to another page, the path changes, but the page content appears very slowly bforce, c, and other pages jump toward a page with normal speed the jump between the pages of brecincec li d, the speed is normal < ref > could...
is to get the element with router-link-active class name, which can be obtained through dom operation. I would like to ask if there is a vue method? created() { this.$nextTick(() => { let activeElement = document.querySelector( .r...
problem description the project writes the route in vue-router. Both the first-level route and the second-level route use the same sub-component. At present, the first-level route can transmit data to the sub-component, but when you click on the secon...
fallback is a common function, so I encapsulated it as a global function assetes global.js import Vue from vue import Router from "vue-router"; Vue.use(Router) export default({ back:function(){ this.$router.go(-1); ...
A home page that needs to distinguish between multiple countries the current directory is like this index_countrytNameindex _countryName.vue the route country in this place can be empty. what s the difference? ...
if the page jump looks like this: A page B page C page B page B page C page then when I click back, I will fall into the previous action C page "B page " B page "A page this affects the user experience very much, how to solve this problem gen...
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...
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...
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...