This commit is contained in:
街角小林 2025-03-28 09:22:47 +08:00
parent 324652b1ba
commit 92d01e510b
3 changed files with 10 additions and 10 deletions

View File

@ -956,5 +956,12 @@ const mindMap = new MindMap({
<sub style="font-size:14px"><b>旋风</b></sub>
</a>
</td>
<td align="center" style="word-wrap: break-word; width: 75.0; height: 75.0">
<a href="#">
<img src="./web/src/assets/avatar/星夜寒.jpg" width="50;" style="border-radius:50%;align-items:center;justify-content:center;overflow:hidden;padding-top:10px"/>
<br />
<sub style="font-size:14px"><b>星夜寒</b></sub>
</a>
</td>
</tr>
</table>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -135,14 +135,7 @@
import Color from './Color.vue'
import { mapState } from 'vuex'
import { lineWidthList, borderDasharrayList } from '@/config'
const defaultStyleConfig = {
radius: 5,
strokeWidth: 2,
strokeColor: '#0984e3',
strokeDasharray: '5,5',
fill: 'rgba(9,132,227,0.05)'
}
import OuterFrame from 'simple-mind-map/src/plugins/OuterFrame';
export default {
components: {
@ -163,7 +156,7 @@ export default {
top: 0
},
styleConfig: {
...defaultStyleConfig
...OuterFrame.defaultStyle
}
}
},
@ -203,7 +196,7 @@ export default {
if (typeof firstNodeOuterFrame[key] !== 'undefined') {
this.styleConfig[key] = firstNodeOuterFrame[key]
} else {
this.styleConfig[key] = defaultStyleConfig[key]
this.styleConfig[key] = OuterFrame.defaultStyle[key]
}
})
//