micro fix

This commit is contained in:
RockYang 2024-10-30 18:11:36 +08:00
parent 41d9c097e8
commit 0593359ef8
2 changed files with 4 additions and 4 deletions

View File

@ -40,8 +40,8 @@ const props = defineProps({
default: 'Tips', default: 'Tips',
}, },
width: { width: {
type: Number, type: String,
default: 500, default: 'auto',
}, },
hideFooter:{ hideFooter:{
type: Boolean, type: Boolean,

View File

@ -111,7 +111,7 @@
</el-popover> </el-popover>
</div> </div>
<div class="item"> <div class="item">
<black-input v-model:value="data.prompt" type="textarea" :rows="10" placeholder="例如:一首关于鸟人的摇滚歌曲..."/> <black-input v-model:value="data.prompt" type="textarea" :rows="10" placeholder="例如:一首关于爱情的摇滚歌曲..."/>
</div> </div>
</div> </div>
@ -266,7 +266,7 @@
</div> </div>
</div> </div>
<black-dialog v-model:show="showDialog" title="修改歌曲" @cancal="showDialog = false" @confirm="updateSong" :width="500"> <black-dialog v-model:show="showDialog" title="修改歌曲" @cancal="showDialog = false" @confirm="updateSong" :width="500+'px'">
<form class="form"> <form class="form">
<div class="form-item"> <div class="form-item">
<div class="label">歌曲名称</div> <div class="label">歌曲名称</div>