This commit is contained in:
aqu415
2022-03-05 12:34:53 +08:00
parent 684f4415d9
commit e3a51d82a7
+4 -1
View File
@@ -50,10 +50,12 @@
const resp_data = resp.data
me.coop_mind_log_id = resp_data.log_id
const data_format = resp_data.data_format
const coop_mind_name = resp.data.coop_mind_name
// node_tree 和 node_array 需要被转成对象,freemind 不需要
snapshot_data = data_format === 'node_tree' || data_format === 'node_array' ? JSON.parse(snapshot_data) : snapshot_data
me.show_mind(resp.data.coop_mind_name, data_format, snapshot_data)
me.show_mind(coop_mind_name, data_format, snapshot_data)
$('#h1').html(coop_mind_name)
})
},
// 清除定时任务等
@@ -117,6 +119,7 @@
<input type="button" value="折叠">
<input type="button" value="展开">
</div>
<h3 id="h1" style="text-align: center;"></h3>
<div id="jsmind_container"/>
</body>
</html>