there are now three files data.js import {calNum} from . Cal export const a = {name:calNum} Cal.vue < script > const calNum=0 export default { calNum } < script > test.vue < template > <div style="margin-top: 100px"...
problem description want to package all js files into one js file! the environmental background of the problems and what methods you have tried A js file can be packaged with require, but the page cannot be displayed after packaging related code...
use the < router-view > < router-view > path to display correctly but the content cannot be displayed and the error is not reported. I don t know what the problem is. the route is changed to this: menus.forEach(item => { var childArr = ...
problem description wrote a demo of vue-router and wanted to implement: enter the page and first redirect to index and then there is a < router-link to= " login " > to login < router-link > Click to jump to the login page; but I wro...
Click on the home page of my performance, jump to the yeji directory of the myYeji, now that the route has been redirected, why not render the page? ...
home ...
< H1 > question 1: when a component inactive, the data in it suddenly becomes null, but after active, the data is restored < H1 >. Each object in list contains an object called content when this component active , this object is with data. ...
Click the button to jump: the current page path is order toOrderDetail(item){ this.SAVE_ORDER(item); this.$router.push( order detail ); console.log(2222) } routing code: { ...
this is a reported error: menu.js : module.export = [{ name: cc-Box Module , id: crossChexBox , sub: [{ name: device , componentName: DeviceStatus }, { name: user , componentName: U...
fallback is a common function, so I encapsulated it as a global function assetes global.js import Vue from vue import Router from "vue-router"; Vue.use(Router) export default({ back:function(){ this.$router.go(-1); ...
the following figure shows my router configuration with only one layer of flattening. Except for the created hook of app.vue, the created life cycle of all other pages of the project is executed twice each (the project uses the tab component of mint-ui,...
if the question passes import store from @ store store.js ...
{ path: , name: , component:() =>import( * webpackChunkName: "home" * ". views Home.vue"), children: [ { path: assets , name: , component: () =>imp...
related codes Please paste the code text below (do not replace the code with pictures) < ul class= "home_tab " > <li v-for="item in tabs"> **<router-link :to="item.ur">** <div><img :src="...
without using the .vue single file, I want to click the button in the profile component to make the modal box component display, mainly to modify the showmode value of the root instance. started to want to use prop, and found that I didn t find a sui...
problem description VueIView, (Modal) A A B B A mounted !!! various dependency information in the project the following is the package.json configuration class capacity { "name": "test4", "version": "1.0...
how does the vue browser refresh jump to the specified page ...
problem description RT, secondary setting rendering will turn the children into that component. No matter what level 3 is set, it has always been a rendering HelloWorld component. Is there something wrong with my configuration? related codes templ...
problem description using vue-router s history mode, there is no problem with the spa application with a single entry, but there is a problem with a page with multiple entries configured. the project template is here: https: github.com lwpersonal...
In the Vue project, there are four pages, namely index entry file, AMagneBMagi C, in which all of them use history.go (- 1) to return the previous page, and their jump relationship is . index "A " B "C, in which there is a jump button on the C page ...
problem description the environmental background of the problems and what methods you have tried related codes Please paste the code text below (do not replace the code with pictures) what result do you expect? What is the error message actu...
when you use the lua script to release the lock, an exception occurs when the return value in the lua script is int , but you can use normally when you change the return value to string . error message is as follows: org.springframework.data.redi...
export class GoodsImgsComponent { @ Input () data: any = []; constructor (public mainCtrl: MainCtrl) { } } Project see a lot of this usage first contact but do not understand what it means, Baidu does not know how to query, ask for advice ...
backend sprngboot, foreground vue.js need to be redirected to the foreground system default page. Take two parameters: token userId new ModelAndView("redirect: event?param1="+token+"¶m2="+userId); when the frontend com...
recently, when reading an elevation book and describing the method of mark removal for garbage collection, there are several points that I don t understand. The original text is as follows the garbage collector marks all variables stored in memory at...