I dynamically get menu information from the background, and then dynamically load the route after processing, but the page is loaded with a blank for the first time and can only be refreshed once. The code is as follows. Please take a look at where the ...
after two days of twists and turns, it is still not done. Please take a look at it for everyone. src entry.js import Vue from vue ; import weex from weex-vue-render ; weex.init(Vue); src index.vue <script> import App from . App.v...
there is a requirement, that is, according to the menus, given by the background, it is dynamically processed and loaded into the route, but because the menu can be added at any time, if you do not notify the front end to add the menu, you also need to ...
problem description what vue+vue-router+vue-cli, wants to achieve is that the parent page has a global message push, hoping to automatically update the data of a child page as soon as a message is pushed. the environmental background of the problems...
Code address https: github.com wohuifude1. Favlist.vue <template> <div v-for="n in 10">< div> < template> <script> export default { data () { return { msg: Hello World! } ...
A webpack vue project generated with scaffolding is a single-page application. I think there are multiple applications in this project, that is, I want the pc version, the mobile version and the background to be in this project. so how do you configure...
problem description when defining a dynamic route such as user :id , you define a normal route user edit , but when accessing the latter, you jump to the previous route and don t know how to match . related codes const router = new Router({ ...
Code address https: github.com wohuifude1. Favlist.vue <template> <div v-for="n in 10">< div> < template> <script> export default { data () { return { msg: Hello World! } ...
<checker v-model= equipmentcheck type= checkbox default-item-class="item" selected-item-class="item-selected"> <checker-item v-for="item in equipments" :key="item.id&q...
1. In the route, use beforeEnter to determine, and then router.push ({name: CombineOrderShipments }); jump to the CombineOrderShipments page, where there is a button in the CombineOrderShipments page, and continue to the OrderFormDetails page. qu...
my header,content,footer is a common component this picture is added to the common component. the desired effect is when I click on the processing center, 1. Route jump 2. After the jump, a picture appears ( home path name) when I click on my wo...
problem description because the ios security policy cannot automatically play music, put it in the wx.ready method to execute document.getElementById ( rightAudio ). Play (); ), but jump to this page via route and do not play music. Music will only ...
problem description when vue-router switches routes under iphone5 ios8, the dom nodes of the previous page still exist , but it is ok under iphone5s ios8. destroyed methods are all executed I m not sure how this problem arises. second addition: ...
click to jump in vue, url changes all the time, but the page can only jump once. No matter how you click, only url is changing, and the page is no longer changing. There is typescript iview vue, for advice on the technology involved. Thank you . 1. Thi...
can the router-link tag jump through a click event without going through the to jump? Or what events will be triggered when router-link jumps? ...
my index.js code import Vue from vue ; import App from . App.vue ; import VueRouter from vue-router ; import routers from . routers ; Vue.use(VueRouter); const router = new VueRouter({ routers }); let div = document.createElement( div ...
content in index.js import Vue from vue import Router from vue-router import PagesView from .. views PagesView import HomeView from .. views HomeView import CapFaceView from .. views CapFaceView Vue.use(Router) const router = new...
use vue-router to set the default access to the component, and the content of the component is not displayed Code sets the default component access path, but the browser interface does not display the problem related codes create two js files und...
jump to unlimited child routes routes: [ { path: layout , alias: , name: index , component: components.HomePage, meta: { title: , icon: ddd } }, { path: user :...
there are two router-view that need to be rendered separately component 1 render No.1 router-view component 2 render No.2 router-view 1. The problem now is that component 1 and component 2 each render two router-view, that is, four contents are di...
the version number of laravel is 5.5 I try to put different error level files in one directory according to the number of days $app->configureMonologUsing(function ($monolog) { dd($monolog); $file = storage_path( logs . DIRECTORY_SEP...
problem description as shown in the figure below, when thinkphp5 logs out, he always jumps to the interface that waits for 3 seconds. Is there any way to jump to the login interface without going through the waiting interface? the environmental bac...
recently, when writing a project, canvas; using h5 has no problem opening it in the editor with a browser, but when it is opened in a folder, the dynamic effect of canvas disappears; check the browser s: Image from origin file: has been blocked f...
after the front end clicks the export button to send the request for exporting the form to the background, the background returns the form to the front end the front end is developed using vue.js, and the background development language is php ...
...