diff --git a/src/component/home/tools/toProduct/Prompt.vue b/src/component/home/tools/toProduct/Prompt.vue index c9d3cf9e..68bcb01b 100644 --- a/src/component/home/tools/toProduct/Prompt.vue +++ b/src/component/home/tools/toProduct/Prompt.vue @@ -121,7 +121,7 @@ const promptList = computed(() => { return [t('ProductImg.UploadWithoutModel'), t('ProductImg.UploadWithModel')] } else { // 如果是从design来的 - if (isSingleDesign) { + if (props.isDesignPage) { // SINGLE_DESIGN: 两个提示词 // 根据年龄和性别选择对应的提示词 let firstPrompt: string // 不带模特的提示词 @@ -255,8 +255,8 @@ const exampleList = computed(() => { } } else { const { ageGroup, httpType, sex } = store.state.Workspace.probjects - const isSingleDesign = httpType === 'SINGLE_DESIGN' - if (!isSingleDesign) return {} + // const isSingleDesign = httpType === 'SINGLE_DESIGN' + // if (!isSingleDesign) return {} const isAdult = ageGroup === 'Adult' const isFemale = sex === 'Female' if (isAdult) {