We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async mounted() { const savedData = JSON.parse(localStorage.getItem('tempMindData')) // 检查临时状态是否有数据 if (savedData && this.entranceFlag !== 1) { console.log('进入savedData', savedData) this.mind.data = savedData } else { await this.fetchData() } console.log('实例化之前this.mind', this.mind) this.jm = new JsMind(this.options) this.jm.show(this.mind) // this.jm.expand_to_depth(4) this.$nextTick(() => { $("#jsmind_container").on('click', (event) => { this.handleJsmindClick(event); }); })
},
The text was updated successfully, but these errors were encountered:
已解决,增加这个属性就好了 虽然不知道为什么?enable_dblclick_handle: false
Sorry, something went wrong.
No branches or pull requests
async mounted() {
const savedData = JSON.parse(localStorage.getItem('tempMindData'))
// 检查临时状态是否有数据
if (savedData && this.entranceFlag !== 1) {
console.log('进入savedData', savedData)
this.mind.data = savedData
} else {
await this.fetchData()
}
console.log('实例化之前this.mind', this.mind)
this.jm = new JsMind(this.options)
this.jm.show(this.mind)
// this.jm.expand_to_depth(4)
this.$nextTick(() => {
$("#jsmind_container").on('click', (event) => {
this.handleJsmindClick(event);
});
})
},
The text was updated successfully, but these errors were encountered: