持续集成分支

This commit is contained in:
aixianling
2024-10-10 16:04:11 +08:00
parent f35c272a19
commit 00b2dbb4a4
38 changed files with 2222 additions and 111 deletions

18
examples/router/index.js Normal file
View File

@@ -0,0 +1,18 @@
import Vue from 'vue'
import VueRouter from 'vue-router'
import apps from "./apps";
Vue.use(VueRouter)
Vue.prototype.$apps = apps
export default new VueRouter({
mode: 'history',
hashbang: false,
routes: apps,
scrollBehavior(to) {
if (to.hash) {
return {
selector: to.hash
}
}
}
})