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? ...
how, in Wechat s web page, when I click the blue personal center button (a tag), a forward and backward toolbar will appear at the bottom of Wechat, is there any way not to appear? I think H5 has a function to clear the history stack. I think I use it ...
vue source code see?: what does this mean? why can it be written this way? Vue.prototype._init = function (options?: Object) { .... } ?: how does he parse it here ...
problem description now I m going to convert the rotate of svg to calculate the translation and rotation angles the background of the problem and what methods I have tried function rotate (p1 and p2. R) { var x=p1.x-p2.x; var y=p1.y-p2.y; var x0=p...
about the import method, I have tried to find < script > directly in index.html and write a map.js either way is an error that can not be found in BMap after packaging. do you have any solutions or ideas? ...
recently, I have been learning about java nio, which has been a bit strange. There is such a common code in nio programming . for(xxxxxxx){ if(selectionKey.isAcceptable()){ ServerSocketChannel ssc = (ServerSocketChannel) selectionKey.channel()...