fix: 🐛 fix running error of x6-example-demo (#1111)

This commit is contained in:
vector
2021-06-18 13:50:34 +08:00
committed by GitHub
parent 7be2386ca7
commit d5c854f644
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,4 @@
import { ObjectExt, Dom, Vector } from '@antv/x6/lib/util'
import { Point } from '@antv/x6/lib/geometry'
import { View } from '@antv/x6/lib/view'
import { ObjectExt, Dom, Vector, Point, View } from '@antv/x6'
// need: <meta http-equiv="x-ua-compatible" content="IE=Edge" />
export class PathDrawer extends View {

View File

@ -1,7 +1,7 @@
import React from 'react'
import { Helmet } from 'react-helmet'
import { PathDrawer } from './drawer'
import '../index.less'
import '../../index.less'
import './drawer.less'
export default class Example extends React.Component {