Merge branch 'feature' of https://github.com/wanglin2/mind-map into feature

This commit is contained in:
wanglin2
2024-08-26 21:10:09 +08:00
16 changed files with 128 additions and 100 deletions

View File

@@ -453,4 +453,8 @@ const mindMap = new MindMap({
<img src="./web/src/assets/avatar/张文建.jpg" style="width: 50px;height: 50px;" />
<span>张文建</span>
</span>
<span>
<img src="./web/src/assets/avatar/炫.jpg" style="width: 50px;height: 50px;" />
<span>炫</span>
</span>
</p>

1
dist/css/chunk-3222d6ee.css vendored Normal file
View File

@@ -0,0 +1 @@
.doc[data-v-d024f2fc]{position:fixed;left:0;top:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:20px}.doc a[data-v-d024f2fc]{color:#1ea59a}

File diff suppressed because one or more lines are too long

2
dist/js/app.js vendored

File diff suppressed because one or more lines are too long

1
dist/js/chunk-3222d6ee.js vendored Normal file
View File

@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3222d6ee"],{"33af":function(t,n,s){},9372:function(t,n,s){"use strict";s("33af")},f226:function(t,n,s){"use strict";s.r(n);var c=function(){var t=this;t._self._c;return t._m(0)},i=[function(){var t=this,n=t._self._c;return n("div",{staticClass:"doc"},[t._v(" 文档已迁移至:"),n("a",{attrs:{href:"https://wanglin2.github.io/mind-map-docs/"}},[t._v("新地址")])])}],a=(s("9372"),s("2877")),u={},e=Object(a["a"])(u,c,i,!1,null,"d024f2fc",null);n["default"]=e.exports}}]);

File diff suppressed because one or more lines are too long

69
dist/js/chunk-9e0371c2.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -9,7 +9,7 @@
})
} catch (error) {
console.log(error)
}</script><link href="dist/css/chunk-vendors.css?64a0c9746081d3594fd1" rel="stylesheet"><link href="dist/css/app.css?64a0c9746081d3594fd1" 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 = () => {
}</script><link href="dist/css/chunk-vendors.css?1c8f9269e64b9476f0c7" rel="stylesheet"><link href="dist/css/app.css?1c8f9269e64b9476f0c7" 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({
@@ -74,4 +74,4 @@
// 可以通过window.$bus.$on()来监听应用的一些事件
// 实例化页面
window.initApp()
}</script><script src="dist/js/chunk-vendors.js?64a0c9746081d3594fd1"></script><script src="dist/js/app.js?64a0c9746081d3594fd1"></script></body></html>
}</script><script src="dist/js/chunk-vendors.js?1c8f9269e64b9476f0c7"></script><script src="dist/js/app.js?1c8f9269e64b9476f0c7"></script></body></html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -31,7 +31,7 @@ MindMap.iconList = icons.nodeIconList
MindMap.constants = constants
MindMap.themes = themes
MindMap.defaultTheme = defaultTheme
MindMap.version = '0.10.6'
MindMap.version = '0.11.0'
MindMap.usePlugin(MiniMap)
.usePlugin(Watermark)

View File

@@ -8,7 +8,7 @@
"version": "0.10.6",
"license": "MIT",
"dependencies": {
"@svgdotjs/svg.js": "^3.2.0",
"@svgdotjs/svg.js": "3.2.0",
"deepmerge": "^1.5.2",
"eventemitter3": "^4.0.7",
"jszip": "^3.10.1",

View File

@@ -1,6 +1,6 @@
{
"name": "simple-mind-map",
"version": "0.10.6",
"version": "0.11.0",
"description": "一个简单的web在线思维导图",
"authors": [
{
@@ -28,7 +28,7 @@
"module": "index.js",
"main": "./dist/simpleMindMap.umd.min.js",
"dependencies": {
"@svgdotjs/svg.js": "^3.2.0",
"@svgdotjs/svg.js": "3.2.0",
"deepmerge": "^1.5.2",
"eventemitter3": "^4.0.7",
"jszip": "^3.10.1",

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

24
web/src/pages/Doc.vue Normal file
View File

@@ -0,0 +1,24 @@
T<template>
<div class="doc">
文档已迁移至<a href="https://wanglin2.github.io/mind-map-docs/">新地址</a>
</div>
</template>
<style lang="less" scoped>
.doc {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 20px;
a {
color: #1ea59a;
}
}
</style>

View File

@@ -4,15 +4,19 @@ import VueRouter from 'vue-router'
Vue.use(VueRouter)
const routes = [
{
path: '/',
name: 'Edit',
component: () => import(`./pages/Edit/Index.vue`)
{
path: '/',
name: 'Edit',
component: () => import(`./pages/Edit/Index.vue`)
},
{
path: '/index',
path: '/index',
redirect: '/'
},
{
path: '/doc/zh',
component: () => import(`./pages/Doc.vue`)
}
]
const router = new VueRouter({