fix: FilePreview iframe高度撑满 + 手机端响应式布局

This commit is contained in:
2026-05-24 22:25:50 +08:00
parent fbd029a7fe
commit 3823f70714
7 changed files with 69 additions and 6 deletions
+14
View File
@@ -0,0 +1,14 @@
import requests
r = requests.get('http://192.168.31.240:41733/api/reports?projectId=1').json()
print('Reports in project 1:')
for rep in r:
print(' ', rep['id'], rep['fileName'])
if 'test.html' in rep['fileName']:
rid = rep['id']
r2 = requests.delete(f'http://192.168.31.240:41733/api/reports/{rid}')
print(f' Deleted test.html (id={rid}): {r2.status_code}')
# Verify
r3 = requests.get('http://192.168.31.240:41733/api/projects/1').json()
print('Project now has', r3['reportCount'], 'reports')