nuxt frame routes are automatically generated.
and my jumps are written like this
<nuxt-link :to="{name: "/",query:{ id:item.detailId }}">
<img :src="item.img">
{{ item.dis}} {{ item.time }}
</nuxt-link>
nuxt frame routes are automatically generated.
and my jumps are written like this
<nuxt-link :to="{name: "/",query:{ id:item.detailId }}">
<img :src="item.img">
{{ item.dis}} {{ item.time }}
</nuxt-link>
Please attach a picture of your router file
think about it for yourself. The name you define is index,. The name you jump to is /
.
just change the name you jump to index
this.$router.push ({path:'/'}) try
the route this.$router.push ({name:'/'}) of router/index.js without name:'/' cannot be fetched
currently the loading component is used directly through axios s interceptor, showing when sending the request and hiding when the response comes back but for example, if there are multiple requests, the loading is hidden when the first request is re...
vuescript JS, mounted js script js ,, so, to fix this BUG, you must make sure that the external js is loaded, but I don t know how to make sure that the JS is loaded. May I ask the gods how to do this? ...
[root@VM_11_154_centos ffn]-sharp npm run build > ffn@1.1.0 build usr local src ffn > nuxt build nuxt:build Building... +0ms nuxt:build App root: usr local src ffn +0ms nuxt:build Generating usr local src ffn .nuxt files... +0ms nuxt:b...
I loaded this listener in the created hook of the vue component: ($electron points to require ( electron ), which is a function of the vue-electron package) created () { this.$electron.remote.getCurrentWindow.on( close , (e) => { e...
Vue application, IE browser (8Murray 11) can not be opened, other browsers are normal. When IE is opened, it is blank. The error is as follows: harmony default export _ webpack_exports__ [ "a "] = (function (instance, eventList) { const ev = e...
in the study of the vuex project, I found someone else s code from github. Can the "callback (_ products) " here be used in this way? I don t understand this way of writing . ** * * var _products = [ {"id": 1, "title": &qu...
is this format. Doesn t an array subscript correspond to a value? how can it correspond to three values? the data on my side are spliced like this. There is no way of thinking below . here is my splicing code const Str = [] for (let j = 0; j <...
use the vant ui component library of the likes team, and use < van-field > in the form, but it seems that the official parameter "error-message " can only be a fixed string and cannot be changed dynamically. Is there any other method or effectiveness th...
A front-end dog, use vue+express to do a blog, and then rent a minimum configuration Tencent Cloud (centos system) I want to deploy vue and express projects on the cloud. At present, I only know how to install node and nginx environment first, but where...
prompts the following error after executing npm run serve : (node:16128) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 upgrade listeners added. Use emitter.setMaxListeners() to increase limit I didn t have this promp...
instance code: parent component: <div class="parent"> < div> <script> data(){ return{ id:this.$route.query.id } } < script> Sub-component: <div class= children > <...
vue routing error vue-router error related codes [Vue warn]: Error in render: "InternalError: too much recursion" found in ---> <RouterLink> <ElTooltip> <VHead> at src components common Header.vue...
recently, we are going to do buried sites and data statistics in the project. projects are developed using Vue. At present, the main data obtained by are pv, uv, and events. has never done such a business before. excuse me, how to do burying points...
the problem is to click the annotation on the layer and pop up the popup, that is, the Overlay layer. How can I tell that I am currently clicking on the pop-up layer, not the vector layer or something else. checked the api on the official website and ...