This commit is contained in:
X1627315083@163.com
2026-02-25 10:20:26 +08:00
parent ed396894cb
commit b7dba5533c
19 changed files with 84 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<template>
<!-- 编辑素材 -->
<div class="edit-material">
<p class="label">Material</p>
<upload-file v-model="data.file" />
<p class="label">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>
.edit-material {
}
</style>