修复点击,拖拽上穿

This commit is contained in:
lan-air
2022-12-10 09:25:06 +08:00
parent 1ae037a2d9
commit 95198d4c15
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ async def index(request: Request, code: str, db: Session = Depends(get_db)):
error_ip_count[request.client.host] = error
return {'code': 404, 'msg': f'取件码错误,错误5次将被禁止10分钟'}
else:
return {'code': 200, 'msg': '取件成功,请点击查看', 'data': info}
return {'code': 200, 'msg': '取件成功,请点击“取”查看', 'data': info}
@app.post('/share')
+2 -1
View File
@@ -254,7 +254,8 @@
}
},
successUpload(response, file, fileList) {
this.files.push(response.data[0])
this.$message({'message': '上传成功,请点击文件库查看', 'type': 'success'});
this.files.push(response.data)
},
qrcodeUrl(file) {
return 'https://api.qrserver.com/v1/create-qr-code?data=' + window.location.origin + '/?code=' + file.code