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 following html <div><i class= fa fa-plus >< i>< div> want to replace text content with something else, but do not use the $obj.html method. Because an unknown click event is bound under the I tag. I would like to ask th...
found that click events could not be added to the imported obj because obj is of type group. so you need to convert obj to type mesh. but I don t know how to implement it. Do you have a great god to explain it ?...
...
when WeChat Mini Programs previews the picture, the voice that is actually played will stop. How to solve it? ...
In the scenario, the data inventory is in sub-units, such as 100 points in 1 metadata inventory. Then the front-end display is meta-unit. So when you take it out, you have to convert the number of type long into double. how to break the situation of 0...