<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:''
		}
	},
	onLoad(option) {
		if(option){
			this.agentId = option.id
		}
		wx.hideShareMenu()
		const app = getApp();
		const bgMusic = app.globalData.bgMusic;
		 bgMusic.pause();
		
	},
	onLaunch: options => {
		this.options = options
	},
	onShow() {

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

</style>
  