<template>
	<!-- 转CAD -->
	<div class="to-cad">
		<p class="label">{{ $t('FlowCanvas._3DModel') }}</p>
		<upload-file v-model="data.file" />
		<p class="label">{{ $t('FlowCanvas.prompt') }}</p>
		<my-textarea v-model="data.prompt" />
	</div>
</template>

<script setup lang="ts">
	import { reactive, onMounted } from 'vue'
	import myTextarea from '../../tools/my-textarea.vue'
	import uploadFile from '../../tools/upload-file.vue'
	const data = reactive({
		prompt: '',
		file: null
	})

	defineExpose({ data })
</script>

<style lang="less" scoped>
	.to-cad {
	}
</style>
