You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
721 B
45 lines
721 B
<template> |
|
<div class="db-init"> |
|
<component :is="currentComponent" /> |
|
</div> |
|
</template> |
|
|
|
<script lang="ts"> |
|
import Protocol from "./component/protocol.vue"; |
|
import CheckEnv from "./component/checkEnv.vue"; |
|
import Init from "./component/init.vue" |
|
import Finish from "./component/finish.vue" |
|
import {defineComponent} from "vue"; |
|
export default defineComponent({ |
|
name: "dbInit", |
|
components:{ |
|
Protocol, |
|
CheckEnv, |
|
Init, |
|
Finish |
|
}, |
|
provide() { |
|
return { |
|
jump: (v:string) => { |
|
this.currentComponent = v |
|
} |
|
} |
|
}, |
|
|
|
setup() { |
|
|
|
}, |
|
data() { |
|
return { |
|
currentComponent: 'Protocol' |
|
} |
|
} |
|
|
|
}) |
|
</script> |
|
|
|
<style scoped lang="scss"> |
|
.db-init { |
|
|
|
} |
|
</style>
|
|
|