修复重新加载bootstrap.js导致下拉菜单失效;修复#11

This commit is contained in:
anjaxs
2023-03-15 22:05:28 +08:00
parent 8dbc1dab67
commit e5275312af
5 changed files with 2595 additions and 30 deletions

View File

@ -11,7 +11,6 @@ import './assets/css/xenon-core.css'
import './assets/css/xenon-components.css'
import './assets/css/xenon-skins.css'
import './assets/css/nav.css'
import { loadJs } from './assets/js/app.js'
Vue.config.productionTip = false
Vue.use(VueRouter)
@ -26,12 +25,6 @@ const router = new VueRouter({
mode: 'history'
})
router.afterEach((to, from, next) => {
console.log("to => ", to, "from => ", from, "next => ", next);
if (to.path == '/' && to.hash == '') {
loadJs();
}
})
new Vue({
render: h => h(App),