there is a background management system routing nesting relationship: app.vue > a.vue > b.vue I want to do this: send a request to verify the validity of token in app.vue send a data request in a b, and the parameters of the data request depend o...
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...
" login" beforeCreate: function() { alert("1") }, created: function() { alert("2") }, beforeMount: function() { alert("3") }, mounted: function() { alert("4") }, methods: { login() { ...
{ path: information , name:"information", meta:{ keepAlive:true }, component: function (resolve) { require([ @ view personal components information information ], resolve) }, }, meta:{ keepAlive:true }...
vue methods: can I skip the chain directly in {}? if I directly execute this method, jump to window.location.href= "baidu.com " on the home page of Baidu; is that all right ...
when I this.$router.go ( ) on other pages, it will jump to Index (home page). I think the data of v-header and v-sidebar components in home also have to be refreshed. Home as a root component will only jump in it, and the components in home itself w...
use laravel mix to do vue contact projects. Encountered a problem while using vue-router < H2 > Project structure < H2 > router.js foo.vue app.js home.html component what is my problem? thank you for correcting all the source codes have be...
except for the basic login and the home page, everything else is obtained from the background and added with addRouter. now there is a problem. I added a routing information to the database, and I logged in again on the page. I also got the list of ne...
vue-router browser address is switched, but the page is not skipped this happens when I jump from page 1 to page 2, then return 1 from page 2, and then jump from 1 to 2. How did this cause the return method is this methods: { goBack() { ...
<li class="col25" @click="this.$router.push({name: RentList })"><img width="32px" height="32px" src=".. assets images home1.png" ><span style="display:block;">< span>&l...
how does vue get the current route name ...
the website was written by jq. Now the home page is transformed into vue. How to jump back and forth between other pages and home page? ...
Hello, everyone. I would like to ask you a question about routing parameters: scenario: component A has a form form with many fields. I click search to jump to component B and request data based on the data. what I do: in the past, when there were f...
problem description A new one is cute. Now when we practice VUE, we will encounter the problem of passing values between pages, using the method of passing values through $router give me a chestnut A page passes this.$router.push ({path: adminM...
vue will cause the loss of this.$options.data () after referencing the attribute of this.$route within data For the question, please see the following three pictures. You also have this problem in your own project, and then use Vue CLI 3 to build ...
the problem starts along Login page I design the background color for body, and then jump to the home page after a successful login. But the background color still exists. my idea is to jump behind and take the initiative to destroy the correspondin...
problem description pages entered directly through the url address need to cancel the return button. How to determine whether the current page is the first page when entering? tried methods 1. Window.history uses window.history.length to determin...
Navigation is a first-level page, many first-level pages have secondary pages, enter the secondary page navigation will not be highlighted how to break? If it is not a nested route, how can you display the secondary page directly from another route? ...
for example, the navigation bar has two buttons with the following address: www.xxx.com page1 A.vue www.xxx.com page2 B.vue at this time, there are secondary pages called A1.vue and B1.vue in An and B www.xxx.com page1 subpage1 A1.vue www.xxx.com pa...
the vue project runs normally after local npm run dev. In addition to the normal refresh of the home page, click other page refresh to jump to the 404 page how to deal with it? ...
when rendering with data v-for this is the content both have for loop rendering data if two are loaded at the same time, the browser will collapse, and the amount of data is not about 20 if you comment out the content first, load the navig...
select in the Wechat 6.7.4 H5 page, input the page moves up when the soft keyboard pops up, but the soft keyboard closes the page does not move down. Caused a part of the page to be vacant. Wechat 6.7.3 and other versions will not have this proble...
The data structure looks like this. {id:parentIds} id is unique, and parentIds stores the ids. of the superior. For example, if the id=9 parentIds under the id=5 under the parent class is id=1, the parentIds at the highest level is 0, so how do you sort...
Consider the problem of implementing timers in your current practical. Selective Repeat does not resend all packets on timeout, so it must timeout packets individually. However, in our implementation we only have one timer. How might we solve this proble...
is the kind of QR code lock similar to shared bikes. What hardware should I buy to implement it? the current idea is scan the QR code-send a request to the server-server authentication-return the command to open the lock (authentication failed without o...