as shown in the figure: the landing page needs to be displayed separately, and now it is all in the middle of the beginning and the end = router.js import Vue from vue import Router from vue-router import Index from .. components index...
set the route, the route that jumps in router-link will have this effect, but there are some interfaces I want to judge the situation to jump, so I use this.$router.push, but there is no such state after the page jumps. What is the problem? .router-l...
can trigger console.log (1), but it does not take effect in the page, does not show drop-down and loading ...
<div id="app"> <router-view>< router-view> <div class=""> <router-link to=" ">1< router-link> <router-link to=" 2">2< router-link> <router-link to=" 3"&...
Let s ask a question about weex+vue-router. I modify the page according to some blogs on the Internet as shown in the picture. I hope to click second and jump to the second page second Second . then did not report wrong, really do not know why, Baid...
router.js routing section export const normalRouter = { path: , meta: { login: false }, component: () => import( @ views normal home ), redirect: pagelist , children: [ { name: normalPageList ...
for example, how do I initialize this component when I click to bill successfully? Just go back to where you just came in? there are a lot of things here. I don t want to find the corresponding binding value and empty it. I thought of this way to ...
Vue rookie, is trying to do a SPA page, encountered a problem looked at a lot of information can not be solved, come here to ask for the opinions of your predecessors. can vue-router get background data directly? How should it be done? If not, whether...
Vue.js + webpack projects built without vuex how to jump directly to the user login interface when there is no login? disable access to other interfaces without logging in vue-router how to control ...
the project is built by vue-cli. SAP, runs without error with npm run dev. After using npm run build, the generated js is put into erb and reported to cannot redefine $router,. Some answers say that vue router is defined twice, or vue is packaged twice,...
use vue router to imitate the app page to slide in and out, and there is a white gap between the two pages when Synchronize goes in and out. what is the reason for this? The official document says that if you do not set mode, it is the default Synchroni...
this.active is a variable in data, but if you write it here, you will get an error active is not defind? I would like to know what the reason is . ...
in the router object hook beforeEach, I use the addRoutes method to dynamically add a route to the router and find infinite calls to beforeEach,. I want to know why? As shown in the figure reference link: https: jsfiddle.net L7hscd8h. ...
define routes: url:http: localhost:8080 centerNav myAskurl: how should I remove the previous centerNav? ...
...
vue routing cannot be monitored other routes can be monitored, but this is not allowed Tools_list.vue: addFriend.vue: ...
vue-router uses history mode, and the backend is tomcat,. How to configure the backend so that you can access url directly without reporting 404 requests? Apache and nginx are all found on the Internet. Ask for help. ...
For a project of vue, the vue-router mode is normal after history, is deployed to the server, and the refresh is also normal. If the IE is not refreshed, it can be accessed normally, but refresh or direct link access will be 404. Why? ...
I use vue-router to do two routes, one is the home page, the other page, and then use header to switch routes and do sibling component communication, but found that header can only trigger the home page listeners, when switching routes can not trigger ot...
< H1 > question < H1 > currently, under Android, Wechat 6.6.5 cannot be called in history mode using vue-router . < H1 > Resolution process < H1 > I thought it was the payment directory problem, and then I tinkered with it for a long time. Both and...
the previous article raised the question of how to match infinite-level routes with the help of forum friends, using the * sign to match. If you are not sure, you can go back to the previous question. The link is https: codeshelper.com q 10.. Informa...
let objList = [ {name: tom ,age:12}, {name: jack ,age:33}, {name: zio ,age:12}, {name: lolo ,age:89}, {name: robin ,age:16}, ] let ageList = [12,16]; let getData = objList.filter(...
RT, there are multiple lines of input in a form. I would like to ask how can all the content be saved in json format and then sent out? I ve found a lot of methods written by jquery, and I d like to ask vue how to do this. I may not be very clear. I ...
write a production and consumption program for redis queue in laravel execute the consumption command, specifying that the connection connection and queue queue name can be consumed normally, but not without specifying the queue name. Why? Shouldn t ...
A toash component, the time I set is 1800 milliseconds, and a project has N pages using toash. If one day the product asks me to change it to 3000 milliseconds, then I have to change it one by one. Is there a good solution? <toast v-model=&qu...