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.

47 lines
639 B

2 months ago
<template>
2 months ago
<view class="content">
<GPT :agentId="agentId"></GPT>
</view>
2 months ago
</template>
2 months ago
2 months ago
<script>
2 months ago
import GPT from '@/components/GPT/index.vue'
export default {
components: {
GPT,
},
data() {
return {
4 weeks ago
agentId:''
2 months ago
}
},
onLoad(option) {
4 weeks ago
if(option){
this.agentId = option.id
}
1 month ago
wx.hideShareMenu()
2 months ago
const app = getApp();
const bgMusic = app.globalData.bgMusic;
bgMusic.pause();
4 weeks ago
2 months ago
},
onLaunch: options => {
this.options = options
},
onShow() {
console.log('【init message connect type------>】', );
},
methods: {
},
}
2 months ago
</script>
2 months ago
<style scoped lang="scss">
.content {
height: 100vh;
}
2 months ago
2 months ago
</style>