feat(short-drama-agent-front): 优化分镜界面并新增弹窗手势

This commit is contained in:
GJ committed 2026-11-18 18:50:15 +08:00
1 parent b15a6011ce
commit d68f03471c
59 files changed
+2694 -857

No files matched your search

+8 -3
View File
@@ -22,14 +22,19 @@ const review = {
)
}
/**
* 只允许免费诊断和只读回读,批准、签收、执行及恢复全部拒绝。
* 只允许免费诊断、布局输入预览和只读回读,批准、签收、执行及恢复全部拒绝。
* @param input 请求地址
* @param init 请求选项
* @returns 隔离响应
*/
window.fetch = async (input, init) => {
const path = String(input)
if (init?.method && init.method !== 'GET' && !path.endsWith('/continuity/diagnosis'))
const path = new URL(String(input), window.location.origin).pathname
if (
init?.method &&
init.method !== 'GET' &&
!path.endsWith('/continuity/diagnosis') &&
!path.endsWith('/keyframe/preview')
)
return new Response(JSON.stringify({ message: '隔离页禁止写入与付费' }), { status: 403 })
let data: unknown
if (path.includes('/vision/preview'))