feat: 修改页面bug

This commit is contained in:
zheng020 2026-06-04 01:42:29 +08:00
parent 456bf10352
commit 408e027f5f
3 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ export function useLaserBatchGenerate(options = {}) {
const imagePath = resolveImagePath(formData)
// Dify 模式:服务端 AI 生成
const genMode = (typeof import.meta !== 'undefined' && import.meta.env?.VITE_LASER_GEN_MODE) || 'client'
const genMode ='dify'
if (genMode === 'dify') {
const dify = useLaserDifyGenerate()
const userPrompt = (runOptions.userPrompt || formData?.userPrompt || '').trim()

View File

@ -61,7 +61,7 @@ onMounted(async () => {
simulateProgress()
//
genMode.value = (typeof import.meta !== 'undefined' && import.meta.env?.VITE_LASER_GEN_MODE) || 'client'
genMode.value = 'dify'
try {
const flow = consumeGenerationFlowPayload()

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB