Commit 06038fd0 authored by wanli's avatar wanli

update

parent da3573b8
...@@ -28,6 +28,7 @@ build/ ...@@ -28,6 +28,7 @@ build/
logs/*.log logs/*.log
logs/*.log.* logs/*.log.*
*.db
frontend/node_modules frontend/node_modules
frontend/dist frontend/dist
......
No preview for this file type
...@@ -26,7 +26,6 @@ class JsonResponse(Response): ...@@ -26,7 +26,6 @@ class JsonResponse(Response):
def force_type(cls, response, environ=None): def force_type(cls, response, environ=None):
if isinstance(response, (list, dict)): if isinstance(response, (list, dict)):
response = jsonify(response) response = jsonify(response)
print("======jsonify:====", response)
return super(Response, cls).force_type(response, environ) return super(Response, cls).force_type(response, environ)
class FlaskAPP(Flask): class FlaskAPP(Flask):
......
...@@ -235,7 +235,6 @@ export default { ...@@ -235,7 +235,6 @@ export default {
const link = document.createElement("a"); const link = document.createElement("a");
body.appendChild(link); body.appendChild(link);
link.href = row.app_path; link.href = row.app_path;
link.download = `${row.app_name}.epk`;
link.click(); link.click();
document.body.removeChild(link); document.body.removeChild(link);
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment