<template>
	<view class="content">
		<GPT :agentId="agentId"></GPT>
	</view>
</template>
  
<script>
import GPT from '@/components/GPT/index.vue'
export default {
	components: {
		GPT,
	},

	data() {
		return {
		agentId:1
		}
	},
	onLoad(option) {
		wx.hideShareMenu()
		const app = getApp();
		const bgMusic = app.globalData.bgMusic;
		 bgMusic.pause();
		if(option){
			this.agentId = option.id
		}
	},
	onLaunch: options => {
		this.options = options
	},
	onShow() {

			console.log('【init message connect type------>】', );
	},
	methods: {
	},
}
</script>
  
<style scoped lang="scss">
.content {
	height: 100vh;
}

</style>
  