antvis / g6-editor

533 stars 172 forks source link

编辑页面不显示 #68

Open wahowaho opened 5 years ago

wahowaho commented 5 years ago

前端框架 ng-alain 我按照快速上手 执行了npm i @antv/g6-editor --save ; 在node_modules 中也能ode_modules\@antv\g6-editor文件夹,项目中 import G6Editor from '@antv/g6-editor'也追加了,

import { Component, OnInit } from '@angular/core'; import { _HttpClient } from '@delon/theme'; import G6Editor from '@antv/g6-editor'; @Component({ selector: 'app-dashboard', templateUrl: './dashboard.component.html', }) export class DashboardComponent implements OnInit {

这是引入方式 对应html 中也追加了 相应div ,但是angular页面上没显示编辑框 输出里也没报错 不知道什么情况 希望能得到解答 谢谢

cstslqq commented 5 years ago

我也遇到这个问题。在前端框架 ng-alain中使用需要再对G6Editor封装一下?求解答。