打包0.9.9-fix.1版本,修复搜索插件无法搜索的问题

This commit is contained in:
街角小林
2024-03-29 14:46:19 +08:00
parent d36ff55335
commit 9b26ca9290
11 changed files with 21 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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>// 自定义静态资源的路径 <!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.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) => { return new Promise((resolve, reject) => {
setTimeout(() => { setTimeout(() => {
resolve({ resolve({
@@ -66,4 +66,4 @@
// 可以通过window.$bus.$on()来监听应用的一些事件 // 可以通过window.$bus.$on()来监听应用的一些事件
// 实例化页面 // 实例化页面
window.initApp() 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>

View File

@@ -29,7 +29,7 @@ MindMap.iconList = icons.nodeIconList
MindMap.constants = constants MindMap.constants = constants
MindMap.themes = themes MindMap.themes = themes
MindMap.defaultTheme = defaultTheme MindMap.defaultTheme = defaultTheme
MindMap.version = '0.9.9' MindMap.version = '0.9.9-fix.1'
MindMap.usePlugin(MiniMap) MindMap.usePlugin(MiniMap)
.usePlugin(Watermark) .usePlugin(Watermark)

View File

@@ -1,6 +1,6 @@
{ {
"name": "simple-mind-map", "name": "simple-mind-map",
"version": "0.9.9", "version": "0.9.9-fix.1",
"description": "一个简单的web在线思维导图", "description": "一个简单的web在线思维导图",
"authors": [ "authors": [
{ {

View File

@@ -89,7 +89,7 @@ class Search {
const tree = isOnlySearchCurrentRenderNodes const tree = isOnlySearchCurrentRenderNodes
? this.mindMap.renderer.root ? this.mindMap.renderer.root
: this.mindMap.renderer.renderTree : this.mindMap.renderer.renderTree
if (tree) return if (!tree) return
bfsWalk(tree, node => { bfsWalk(tree, node => {
let { richText, text } = isOnlySearchCurrentRenderNodes let { richText, text } = isOnlySearchCurrentRenderNodes
? node.getData() ? node.getData()

View File

@@ -1,5 +1,9 @@
# Changelog # 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 ## 0.9.9
Fix: Fix:

View File

@@ -1,6 +1,8 @@
<template> <template>
<div> <div>
<h1>Changelog</h1> <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> <h2>0.9.9</h2>
<p>Fix:</p> <p>Fix:</p>
<blockquote> <blockquote>

View File

@@ -1,5 +1,9 @@
# Changelog # Changelog
## 0.9.9-fix.1
修复上个版本的改动造成搜索插件无法搜索的问题。
## 0.9.9 ## 0.9.9
修复: 修复:

View File

@@ -1,6 +1,8 @@
<template> <template>
<div> <div>
<h1>Changelog</h1> <h1>Changelog</h1>
<h2>0.9.9-fix.1</h2>
<p>修复上个版本的改动造成搜索插件无法搜索的问题</p>
<h2>0.9.9</h2> <h2>0.9.9</h2>
<p>修复</p> <p>修复</p>
<blockquote> <blockquote>