Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 04:24
    zhaoPengInGithub commented #19239
  • 04:22
    netlify[bot] commented #19240
  • 04:22
    markdownify[bot] edited #19240
  • 04:22
    pr-triage[bot] labeled #19240
  • 04:22
    auto-add-label[bot] labeled #19240
  • 04:22
    ycjcl868 opened #19240
  • 04:21

    ycjcl868 on docs-practical-projects

    :memo: docs (compare)

  • 04:04
    afc163 commented #19239
  • 04:03
    ant-design-bot assigned #19239
  • 04:03
    zhaoPengInGithub opened #19239
  • 03:58
    sydinh commented #6994
  • 03:45
    zkwolf commented #19235
  • 03:35
    shaodahong commented #19235
  • 03:32
    codecov[bot] commented #19236
  • 03:32
    codecov[bot] commented #19236
  • 03:32
    codecov[bot] commented #19236
  • 03:32
    codecov[bot] commented #19236
  • 03:32
    netlify[bot] commented #19236
  • 03:32
    zkwolf commented #19235
  • 03:31
    codecov[bot] commented #19236
hainanzhang
@hainanzhang
list 列表的
Leo Wang
@leowang199303
我试一下
hainanzhang
@hainanzhang
<List.Item>
<div className="user">
{/ <Checkbox onChange={this.onChange.bind(this,item)} checked={item.checkbox}></Checkbox > /}
<img className='userTopImg' src={item.info.avatar}/>
<div className="userInformation">
<p>用户名:{item.name}</p>
<p>电话号码:{item.phone}</p>
</div>
</div>
<Link to={`/platform/user/detail/${item.uid}`} className="userDetail"><Button type="primary"> 用户详情</Button></Link>
</List.Item>
Leo Wang
@leowang199303
我看到得是div
没有看到 ul li
hainanzhang
@hainanzhang
为什么 我的是ul li
Leo Wang
@leowang199303
你用的浏览器跟他们一样吗
hainanzhang
@hainanzhang
都是 谷歌的
Leo Wang
@leowang199303
那就不清楚了
去提一个issue试试
hainanzhang
@hainanzhang
嗯嗯
hainanzhang
@hainanzhang
官网上的也是 ul li
hainanzhang
@hainanzhang
找到问题了 是 cnpm 和yarn
Leo Wang
@leowang199303
cnpm 下是ul li吗
hainanzhang
@hainanzhang
嗯嗯
yarn的就不是
Leo Wang
@leowang199303
哦哦
搜嘎
hainanzhang
@hainanzhang
为什么 yarn 和cnpm 安装的antd 不一样吗
Leo Wang
@leowang199303
应该是不一样吧
以前用cnpm 做angular开发得时候有很多问题,用npm install 或者yarn就没问题
能不用cnpm就别用了吧
longpingyang
@longpingyang
各位大佬 请问table 树形中 能不能 使用 expandedRowRender
甘凌云
@onLing
menu加徽标数,请问有谁做过吗
Denny Jiang
@jiangzm
请教下在父组件中 怎么拿到Drawer 的对象, 传ref提示是FunctionComponent 不能设置ref
Leo Wang
@leowang199303
有谁知道 // eslint-disable-next-line 怎么用不
用了这个注释 ,它又提示 “Unexpected unlimited 'eslint-disable-next-line' comment. Specify some rule names to disable
甘凌云
@onLing
要指定规则
Leo Wang
@leowang199303
不指定规则不行吗
甘凌云
@onLing
你不用 // eslint-disable-next-line它报什么,你就在后面加什么
// eslint-disable-next-line no-plusplus
Leo Wang
@leowang199303
说的是 component should be a pure function
甘凌云
@onLing
方便截图不
Leo Wang
@leowang199303
Component should be written as a pure function
这是个啥规则
甘凌云
@onLing
看看你的组件咋写的
写法不对
Leo Wang
@leowang199303
不用看了
我就想把这个检查跳过去
我知道我的代码为啥报这个错
但是我就想让eslint跳过去
leah
@dundishi
引入import GGEditor from 'gg-editor';报错
./node_modules/_gg-editor@3.0.0-beta.0@gg-editor/src/components/GGEditor/index.tsx
Module parse failed: The keyword 'interface' is reserved (12:0)
You may need an appropriate loader to handle this file type.
| import EditorPrivateContext, { EditorPrivateContextProps } from '../../common/context/EditorPrivateContext';
|
| interface GGEditorProps {
| [EditorEvent.onBeforeExecuteCommand]?: EventHandle<CommandEvent>;
| [EditorEvent.onAfterExecuteCommand]?: EventHandle<CommandEvent>;
能帮我看一下怎么解决吗?
Leo Wang
@leowang199303
不知道 gg-editor...
leah
@dundishi
那有自定义过拓扑编辑器吗?
有大佬做过拓扑流程图吗
leah
@dundishi
有人下载区块的时候碰到这样的吗
sudo umi block add EditorKoni --path=your/path/here
Password:
✔ 😁 Parse url and args
✔ 🚒 Git fetch
✔ 🚛 Git checkout master
✔ 🚀 Git pull
✔ 👀 update submodule
✖ error AssertionError [ERR_ASSERTION]: /Users/xs01/.umi/blocks/github.com/umijs/umi-blocks/EditorKoni don't exists
at /usr/local/share/.config/yarn/global/node_modules/umi-build-dev/lib/plugins/commands/block/index.js:165:27
at Generator.next (<anonymous>)
at asyncGeneratorStep (/usr/local/share/.config/yarn/global/node_modules/umi-build-dev/lib/plugins/commands/block/index.js:46:103)
at _next (/usr/local/share/.config/yarn/global/node_modules/umi-build-dev/lib/plugins/commands/block/index.js:48:194)
at process._tickCallback (internal/process/next_tick.js:68:7)
rdmei
@wl95
image.png
image.png
这个是什么情况 日历控件为什么会出现这种字符