Skip to content

Commit

Permalink
打包0.9.9-fix.1版本,修复搜索插件无法搜索的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
wanglin2 committed Mar 29, 2024
1 parent d36ff55 commit 9b26ca9
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/js/chunk-2d0f026c.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/chunk-2d208ffa.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/chunk-cae1ba8a.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><link rel="icon" href="dist/logo.ico"><title>思绪思维导图</title><script>// 自定义静态资源的路径
window.externalPublicPath = './dist/'
// 接管应用
window.takeOverApp = false</script><link href="dist/css/chunk-vendors.css?fda56af9523032588417" rel="stylesheet"><link href="dist/css/app.css?fda56af9523032588417" rel="stylesheet"></head><body><noscript><strong>We're sorry but thoughts doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script>const getDataFromBackend = () => {
window.takeOverApp = false</script><link href="dist/css/chunk-vendors.css?beeb148b8a9b236eb3f3" rel="stylesheet"><link href="dist/css/app.css?beeb148b8a9b236eb3f3" rel="stylesheet"></head><body><noscript><strong>We're sorry but thoughts doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script>const getDataFromBackend = () => {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve({
Expand Down Expand Up @@ -66,4 +66,4 @@
// 可以通过window.$bus.$on()来监听应用的一些事件
// 实例化页面
window.initApp()
}</script><script src="dist/js/chunk-vendors.js?fda56af9523032588417"></script><script src="dist/js/app.js?fda56af9523032588417"></script></body></html>
}</script><script src="dist/js/chunk-vendors.js?beeb148b8a9b236eb3f3"></script><script src="dist/js/app.js?beeb148b8a9b236eb3f3"></script></body></html>
2 changes: 1 addition & 1 deletion simple-mind-map/full.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ MindMap.iconList = icons.nodeIconList
MindMap.constants = constants
MindMap.themes = themes
MindMap.defaultTheme = defaultTheme
MindMap.version = '0.9.9'
MindMap.version = '0.9.9-fix.1'

MindMap.usePlugin(MiniMap)
.usePlugin(Watermark)
Expand Down
2 changes: 1 addition & 1 deletion simple-mind-map/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-mind-map",
"version": "0.9.9",
"version": "0.9.9-fix.1",
"description": "一个简单的web在线思维导图",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion simple-mind-map/src/plugins/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Search {
const tree = isOnlySearchCurrentRenderNodes
? this.mindMap.renderer.root
: this.mindMap.renderer.renderTree
if (tree) return
if (!tree) return
bfsWalk(tree, node => {
let { richText, text } = isOnlySearchCurrentRenderNodes
? node.getData()
Expand Down
4 changes: 4 additions & 0 deletions web/src/pages/Doc/en/changelog/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.9.9-fix.1

Fix the issue where the search plugin was unable to search due to changes in the previous version.

## 0.9.9

Fix:
Expand Down
2 changes: 2 additions & 0 deletions web/src/pages/Doc/en/changelog/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<template>
<div>
<h1>Changelog</h1>
<h2>0.9.9-fix.1</h2>
<p>Fix the issue where the search plugin was unable to search due to changes in the previous version.</p>
<h2>0.9.9</h2>
<p>Fix:</p>
<blockquote>
Expand Down
4 changes: 4 additions & 0 deletions web/src/pages/Doc/zh/changelog/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.9.9-fix.1

修复上个版本的改动造成搜索插件无法搜索的问题。

## 0.9.9

修复:
Expand Down
2 changes: 2 additions & 0 deletions web/src/pages/Doc/zh/changelog/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<template>
<div>
<h1>Changelog</h1>
<h2>0.9.9-fix.1</h2>
<p>修复上个版本的改动造成搜索插件无法搜索的问题。</p>
<h2>0.9.9</h2>
<p>修复:</p>
<blockquote>
Expand Down

0 comments on commit 9b26ca9

Please sign in to comment.