This commit is contained in:
parent
8f99166710
commit
bde2878fbd
|
|
@ -9,13 +9,11 @@ export default function(graph,name, value, item) {
|
||||||
|
|
||||||
const themeStyle = theme.defaultStyle // todo...先使用默认主题,后期可能增加其它风格的主体
|
const themeStyle = theme.defaultStyle // todo...先使用默认主题,后期可能增加其它风格的主体
|
||||||
if (name === 'hover') {
|
if (name === 'hover') {
|
||||||
console.log(graph)
|
|
||||||
let group = item.getContainer()
|
let group = item.getContainer()
|
||||||
let children = group.get('children')
|
let children = group.get('children')
|
||||||
for (let i = 0, len = children.length; i < len; i++) {
|
for (let i = 0, len = children.length; i < len; i++) {
|
||||||
let child = children[i]
|
let child = children[i]
|
||||||
// 处理锚点状态
|
// 处理锚点状态
|
||||||
console.log(value)
|
|
||||||
if (child.attrs.name === 'anchorg') {
|
if (child.attrs.name === 'anchorg') {
|
||||||
if (value) {
|
if (value) {
|
||||||
console.log(graph)
|
console.log(graph)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue