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 figure is as follows: ,,? ask all the great gods here ...
I want to use this in asyncData () in the Nuxt.js project it is officially said that this cannot be used in asyncData (), but my business requirement is to send a variable managed by vuex to the server when the page is loaded. The data code is as foll...
reference documentation for example: class MyObserver { public function saving(Model $model) { $model } } this method is currently used to deal with it: protected $request; public function __construct(Request $request) ...
introduction VuePress consists of two parts: one is a minimalist static site builder that supports theme development with Vue, and the other is a default theme optimized for writing technical documents. It was originally created to support the docume...
RT, I use the following function to store the input in the input box into an array format this.whitelists = this.whitelists.map(x =>({ user_ids: x.user_ids.split( , ).filter(x => x.trim()).map(x => Number(x)), treatment: ...