文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit e281b292 by convivae

bug fixes

parent 3bf82f5d
......@@ -3,7 +3,7 @@
<component name="JavaScriptSettings">
<option name="languageLevel" value="ES6" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9 (DAPlatform) (3)" project-jdk-type="Python SDK" />
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7 (DAPlatform)" project-jdk-type="Python SDK" />
<component name="PyCharmProfessionalAdvertiser">
<option name="shown" value="true" />
</component>
......
......@@ -85,6 +85,10 @@ def create_labels(label_list):
def create_images(image_list):
res = []
for i in image_list:
rid = i['relationId']
obj = Image.objects(relationId=rid)
if obj:
obj.delete()
image = Image(
relationId=i['relationId'],
imageUrl=i['imageUrl'],
......@@ -137,6 +141,10 @@ def create_layer_entities(layer_entity_list):
def create_layers(layer_list):
res = []
for i in layer_list:
rid = i['relationId']
obj = Layer.objects(relationId=rid)
if obj:
obj.delete()
layer = Layer(
relationId=i['relationId'],
layerEntityList=create_layer_entities(i['layerEntityList']),
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>daplatform</title><link href=./static/css/app.b8988e7866402b4d9ac1a6187a877099.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.a2be0e83c4d960b10398.js></script><script type=text/javascript src=./static/js/vendor.2fc81d8d0fcb35cebf32.js></script><script type=text/javascript src=./static/js/app.35ea786ed82b6f2026f9.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>daplatform</title><link href=./static/css/app.6cdb465616a51cabd0ac672475a0e1b5.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.a2be0e83c4d960b10398.js></script><script type=text/javascript src=./static/js/vendor.2fc81d8d0fcb35cebf32.js></script><script type=text/javascript src=./static/js/app.a24413619bcc6bb50711.js></script></body></html>
\ No newline at end of file
home = C:\Users\28558\AppData\Local\Programs\Python\Python38
home = D:\CodeEnv\Anaconda3
include-system-site-packages = false
version = 3.8
version = 3.7.7
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