dl_site_nuxt/layouts/default.vue
2025-08-13 11:26:37 +08:00

58 lines
1.2 KiB
Vue

<template>
<div>
<divHeader></divHeader>
<nuxt :nuxtChildKey="this.$route.path"/>
<sideNav />
<divFooter></divFooter>
</div>
</template>
<!--<script>-->
<!--window.difyChatbotConfig = {-->
<!-- token: 'BC985VI4DnedSaIQ',-->
<!-- baseUrl: 'http://101.245.103.204',-->
<!-- systemVariables: {-->
<!-- // user_id: 'YOU CAN DEFINE USER ID HERE',-->
<!-- // conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID',-->
<!-- },-->
<!--}-->
<!--</script>-->
<script>
import divHeader from '../components/header.vue';
import divFooter from '../components/footer.vue';
import sideNav from '../components/side-nav.vue';
export default {
components: {
divHeader,
divFooter,
sideNav
},
data() {
return {
}
},
created() {
},
mounted(){
window.difyChatbotConfig = {
token: 'BC985VI4DnedSaIQ',
baseUrl: 'http://101.245.103.204',
systemVariables: {
// user_id: 'YOU CAN DEFINE USER ID HERE',
// conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID',
},
}
console.log('执行完成')
},
methods: {
}
}
</script>
<style lang="scss" scoped>
</style>