feat: 修改页面bug
This commit is contained in:
parent
456bf10352
commit
408e027f5f
@ -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()
|
||||
|
||||
@ -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()
|
||||
|
||||
BIN
frontend/static/dashboard/微信图片_20260604011601_232_433.jpg
Normal file
BIN
frontend/static/dashboard/微信图片_20260604011601_232_433.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 114 KiB |
Loading…
Reference in New Issue
Block a user