知晓同丶

Results 19 comments of 知晓同丶

> 暂时的解决办法是开发者手动引入radar,希望开发者能更新一下这个插件。 > > ``` > const echarts = equire(['line', 'pie', 'radar', 'title', 'legend', 'tooltip']) > // 手动引入radar > require('echarts/lib/chart/radar') > ``` 我刚刚也发现了这个问题,我看了echarts/lib/chart和echarts/lib/component下面的radar名称一致,因此这个不是插件的问题,而是你引入的问题。插件除了可以用名称,还可以用path,你换成添加以下两行代码'echarts/lib/chart/radar'和'echarts/lib/component/radar'试试呢。

我也遇到了,setOption(options, true)强制重绘就可以解决,但是还出现另一个问题,非中国地图,比如省级地图或者区县地图,无法高亮区域,见鬼了真的是。

I wanna generate es and cjs code, of course, I am using multiple entry points. There are some mutual calls in these codes, which will generate many intermediate files, but...

oh, i resolved it another way as you said, using rollup api to traverse each file and generate it separately, and it succeed. thx!@[lukastaegert](https://github.com/lukastaegert)

> 目前没有处理将 el-menu-item 抽离成一个组件插入 el-menu 的情况。 > > 你这样使用 slot 得到的只是一个组件,不是由 el-menu-item 组成的数组,自然不会生效 我也遇到了,递归`Menu`组件无法实现缩略菜单效果,源码内部写了取插槽default得到menu数组,应该优化一下递归取内部`MenuItem`

```ts type Split< S extends string, Delimiter extends string, > = S extends `${infer A}${Delimiter}${infer B}` ? [A, ...Split] : [S] ```

```ts // 拆分 type Split< S extends string, Delimiter extends string, > = S extends `${infer A}${Delimiter}${infer B}` ? [A, ...Split] : [S] // 将方括号内的类型拆分 type StrSplit = S extends...

```typescript type Merge = { [K in keyof (FirstType & SecondType)]: K extends infer R ? (R extends keyof FirstType ? (R extends keyof SecondType ? SecondType[R] : FirstType[R]) :...

```ts type Mutable = Omit & { -readonly [P in Keys]: T[P] } ```

```ts type RequireAtLeastOne = Omit & (KeysType extends keyof ObjectType ? Required : never); ```