<template>
	<view>
		<!-- 公共组件-每个页面必须引入 -->
		<public-module></public-module>
		
		<view class="m-3">
			<suggest @submit="submit"></suggest>
		</view>
		
	</view>
</template>

<script>
	import suggest from "@/components/modules/suggest/suggest.vue"
	export default {
		components: { suggest },
		data() {
			return {
				
			}
		},
		methods: {
			submit(data){
				console.log(data)
				uni.showToast({"title":"您的问题已反馈后台","icon":"none",duration:2000});
				setTimeout(() => {
					return uni.reLaunch({
						url:"/pages/set/set"
					})
				}, 1000);
			}
		}
	}
</script>

<style scoped>

</style>
