微信公众号前端模版
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.

39 lines
751 B

<!-- 标准物价 -->
<template>
<router-view v-slot="{Component}">
<transition v-if="show"
mode="out-in">
<component :is="Component"></component>
</transition>
</router-view>
</template>
<script>
import { addRoutes } from 'vue-helper'
import { axios } from 'axios'
import { ref } from 'vue'
export default {
setup() {
const show = ref(false)
axios.verify().then(resp => {
addRoutes('/standard-price', [
{
path: '/standard-price',
name: 'standard-price',
component: '@/views/price/standard-price.vue'
}
])
show.value = true
})
return {
show
}
}
}
</script>
<style scoped>
</style>