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? ...
these three functions have failed : ...
there are two tables an and a column a_id in bdepartment b that stores table an id as a foreign key and has indexes select * from a join b on a.id=b.a_id question 1: is the above sql full table scan for a table and index for table b? select * from b ...
assume that initialization has a variable with empty toolbarQueryParam, value {} bind the v-model value toolbarQueryParam.name, of element s select. This will cause the manual selection value of select to be invalid (later or null value) to solve this...
in element-ui, if the form binds an object, the object contains multiple objects, for example: formData: { "applymember": { "name": "12", "professionalname": "", "gen...
problem description there is a requirement that php fetch log data from multiple tables at once and return it (using mysql). The table is divided by time and processed by sub-tables, such as log_20180901 and log_20180902. Now you need to query the data...