update
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
this.jm.coop.clear_timer()
|
||||
}
|
||||
},
|
||||
show_mind: function (name, data_format, data) {
|
||||
show_mind: function (name, data_format, data_resp) {
|
||||
// options
|
||||
const options = {
|
||||
container: 'jsmind_container',
|
||||
@@ -134,8 +134,8 @@
|
||||
// eslint-disable-next-line new-cap
|
||||
let jsMind = window.jsMind
|
||||
this.jm = new jsMind(options)
|
||||
if (data) {
|
||||
mind.data = data
|
||||
if (data_resp) {
|
||||
mind.data = data_resp
|
||||
}
|
||||
this.jm.show(mind)
|
||||
},
|
||||
@@ -156,7 +156,7 @@
|
||||
<!-- -->
|
||||
<div style="position: absolute;top: 0px;z-index: 1000;cursor: pointer;" onclick="xxObj.collapse_all()"><span data-feather="folder-minus"></span><span class="un_selected">折叠</span></div>
|
||||
<div style="position: absolute;top: 0px;left:80px;z-index: 1000;cursor: pointer;" onclick="xxObj.expand_all()"><span data-feather="folder-plus"></span><span class="un_selected">展开</span></div>
|
||||
<div style="position: absolute;top: 0px;left:160px;z-index: 1000;cursor: pointer;" onclick="xxObj.star()"><span data-feather="star"></span><span class="un_selected">收藏</span></div>
|
||||
<div style="position: absolute;top: 0px;left:160px;z-index: 1000;cursor: pointer;" onclick="xxObj.star()"><span data-feather="star"></span><span class="selected">收藏</span></div>
|
||||
<h3 id="h1" style="text-align: center;max-height: 40px;"></h3>
|
||||
<div id="jsmind_container"></div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user