qa-prevention-gwj-vue/src/views/system/test/index.vue

30 lines
499 B
Vue
Raw Normal View History

2023-11-06 18:11:01 +08:00
<template>
<div class="app-container">
<transition name="fade" mode="out-in">
<component :is="activeName"/>
</transition>
</div>
</template>
<script>
import Index from './components/index'
import Index2 from './components/index2'
export default {
components: { Index, Index2 },
data() {
return {
val1: '3',
activeName: 'Index',
val: '1',
indexVal: ''
}
},
methods: {
getQuery() {
this.activeName = 'Index2'
}
}
}
</script>