bugfix: 转视频弹窗模型选择&文案错误
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
style="width: 250px"
|
||||
/>
|
||||
</div>
|
||||
{{ currentState }}
|
||||
<!-- {{ currentState }} -->
|
||||
<div class="admin_state_item">
|
||||
<span>State:</span>
|
||||
<a-select v-model:value="currentState" style="width:250px" optionFilterProp="label" :options="state" placeholder="Please select" allowClear show-search></a-select>
|
||||
|
||||
@@ -287,7 +287,7 @@
|
||||
></i>
|
||||
<div
|
||||
class="icon iconfont icon-xiala"
|
||||
v-show="scaleImageList[scaleImageIndex]?.resultType != 'Relight'"
|
||||
v-show="showDropdown"
|
||||
:class="{ active: speedState }"
|
||||
@click.stop="openSpeed"
|
||||
></div>
|
||||
@@ -492,6 +492,14 @@ export default defineComponent({
|
||||
scaleImageList: [],
|
||||
generateCourse: null as any
|
||||
})
|
||||
|
||||
const showDropdown = computed(() => {
|
||||
if (isPoseTransfer) {
|
||||
return videoType.value === 1
|
||||
} else {
|
||||
return scaleImageList[scaleImageIndex]?.resultType != 'Relight'
|
||||
}
|
||||
})
|
||||
let speed = reactive({
|
||||
speedList: [] as any,
|
||||
speedTypeList: {
|
||||
@@ -683,11 +691,11 @@ export default defineComponent({
|
||||
if (videoType.value !== 1) {
|
||||
const prompt = promptInputRef.value.getFullText()
|
||||
params.prompt = prompt
|
||||
params.modelName = ''
|
||||
}
|
||||
return params
|
||||
}
|
||||
let getPrductimg = async () => {
|
||||
|
||||
let obj = getData()
|
||||
// let imageStrength = productimg.productimgSimilarity == 100? 95 :productimg.productimgSimilarity
|
||||
let imageStrength = (70 / 100) * productimg.productimgSimilarity
|
||||
@@ -1337,7 +1345,8 @@ export default defineComponent({
|
||||
newVideoList,
|
||||
setNewVideoRef,
|
||||
handlePlayNewVideo,
|
||||
isNewVideoPlaying
|
||||
isNewVideoPlaying,
|
||||
showDropdown
|
||||
}
|
||||
},
|
||||
data() {
|
||||
|
||||
Reference in New Issue
Block a user