mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 10:27:44 +08:00
update
This commit is contained in:
parent
324652b1ba
commit
92d01e510b
@ -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>
|
||||
BIN
web/src/assets/avatar/星夜寒.jpg
Normal file
BIN
web/src/assets/avatar/星夜寒.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
@ -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]
|
||||
}
|
||||
})
|
||||
// 获取外框的位置大小信息
|
||||
|
||||
Loading…
Reference in New Issue
Block a user