the goal implements a navigation function but refreshing the navigation under about route will lose the highlight. The value of activeIndex is null this problem will not exist if it is not loaded on demand and directly introduced into the About rout...
We are mixed with app. Vue is just a module. App logs in to our module with parameters, such as the home page http: h5 ?userID=123&longitude=1&latitude=1 , such as the details page: http: h5 shop 1 1 , which provides us with some user i...
vue routes are packaged blank with History mode, and what mode is History? ...
two questions what is the difference between 1.router.routes and router.options.routes? Print router, the latter is always available, the former sometimes does not have 2. After changing the meta of a route in router.route or router.options.routes, pr...
app.vue <template> <div id="app"> <login>< login> <router-view > < div> < template> <script> import login from ". components login login.vue" export default { name: ...
the code is as follows <template> <li> <nuxt-link to=" " :class="{ active :isActive }">< nuxt-link> < li> <li> ...
the project is deployed on Nginx. Because the change directory has already given other permissions, it is said that the project is directly placed under dist, so the assetsPublicPath changes to the relative path when build. build: { Template...
problem description the third-party service jumps back to a page in the application that cannot be loaded. Nginx reported 405 the environmental background of the problems and what methods you have tried problem environment: The server is in th...
1: in mounted () { this.timer = setInterval(() => { this.rechargeInfo(); }, 3000); } create a timer. 2: beforeDestroy () { when the aspect route is redirected this.timer = null; clearInterval(this.timer); }, destroyed () { this.timer = null; c...
when adding routes dynamically using vue-router s addRoutes, the child routes are duplicated. Click , and the routing address becomes http: localhost:8123 -sharp workerType ", but it shows employee list Click employee list , the routing ...
1: in mounted () { this.timer = setInterval(() => { this.rechargeInfo(); }, 3000); } create a timer. 2: beforeDestroy () { when the aspect route is redirected this.timer = null; clearInterval(this.timer); }, destroyed () { this.timer = null; c...
when adding routes dynamically using vue-router s addRoutes, the child routes are duplicated. Click , and the routing address becomes http: localhost:8123 -sharp workerType ", but it shows employee list Click employee list , the routing ...
when adding routes dynamically using vue-router s addRoutes, the child routes are duplicated. Click , and the routing address becomes http: localhost:8123 -sharp workerType ", but it shows employee list Click employee list , the routing ...
my display in Google is normal, but the display in the IE Flowmeter is not normal. I tried the babel-polyfill method mentioned on the Internet, but did not solve 1. This is the IE11 browser 2, 3,babel-polyfill,.? ...
The routing nesting of vue is displayed according to their respective levels, but usually when developing some management backend, you need to display the first-level menu (first-level routing) on the iframe on the right, but do not want to change the r...
1. I am a background management system with separate front and rear ends using elementui framework. 2. There are different management roles in the management system, and different roles see different navigation menus. 3. On the displayed page, differe...
The routing nesting of vue is displayed according to their respective levels, but usually when developing some management backend, you need to display the first-level menu (first-level routing) on the iframe on the right, but do not want to change the r...
use vue + element-ui to build a background project (scaffolding). Now you need to manage permissions in the background. As I have no experience, I would like to ask you for advice, such as how to dynamically generate routes when some pages are not displ...
export default new Router({ routes: [{ path: , name: index , redirect: login }, { path: operator , name: operator , component: Index, meta: { title: }, child...
1. For example, after logging in, I want to update the route dynamically according to the menu list returned by the backend, but as soon as I add Routes, I can only add the route to the outermost layer and ask: how to add the new route to the inner laye...
consult data: 1. MySQL transactions are isolated, and the intermediate state in the transaction process is not visible; 2. MySQL dirty reading means that a transaction is making changes to a record, and the data of this record is in an inconsistent st...
vue wants to pass values to child components through prop. The value bound by the parent component has a default value. It is hoped that after the data is returned by the axios background, extend more objects on its own data and then pass it to the chil...
novice, recently started to learn vue, a simple todoList instance <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <style type="text css"> ...
earlier, I saw a php teacher save Wechat s access_token into cache (valid for 7200 seconds). The time is up to be automatically deleted . what should be done in node ...
1, I spliced an ace_tree background data from the background through ajax, which is a string, and then returned to the foreground. If I assign this string to the ace_tree, I cannot recognize var treeDataSource = new DataSourceTree ({data: tree_data}) ...