eightHundreds

Results 35 issues of eightHundreds

这个 ``` onRejected = typeof onRejected === 'function' ? onRejected : r => throw r; ``` 改为 ``` onRejected = typeof onRejected === 'function' ? onRejected : r => {throw...

在规则是这样配置的 ![image](https://user-images.githubusercontent.com/18695431/123792786-96a60200-d913-11eb-8e46-a28254e30c3c.png) ``` \``` header Authorization: Bearer xx \``` # 转发到线上接口 /^http://xx(.*)/ reqHeaders://{header} https://yy$1 ``` 使用了whistle 内联语法 到了whistle界面变成了 ![image](https://user-images.githubusercontent.com/18695431/123792910-bc330b80-d913-11eb-8f8a-3763afdc7562.png)

从[源码](https://github.com/myxvisual/react-uwp/blob/bb75737f46bc022c79535f98367f89a78cfda8b7/src/NavigationView/index.tsx#L182)上看,NavigationView内部自己管理哪些navigationNodes要处于visited的状态 但有时候,NavigationView的调用者并不希望有visitied效果,比如windows10的开始菜单,底部的按钮有的是'链接'(如设置),有的会点击后会出现菜单(如关机). 但目前,NavigationView总是会有visited效果 ``` ``` 在看`NavigationView`源码之前,我认为只要给`SplitViewCommand`的`visited`设置false,就不可能被visited

enhancement

### Problem description ``` ..... ``` 当有背景图,且needGenerateAcrylic为true(默认为true),切换黑白主题时会出错 ``` theme.saveTheme( getTheme({ themeName: theme.themeName === "light" ? "dark" : "light", accent: theme.accent, useFluentDesign: theme.useFluentDesign, desktopBackgroundImage: theme.desktopBackgroundImage }) ) ``` 出问题的代码在[这里](https://github.com/myxvisual/react-uwp/blob/eb3ae68dea548e2df72b19ae502801bb8934661b/src/Theme/index.tsx#L264) cacheDarkAcrylicTextures ,cacheLightAcrylicTextures...

### Problem description 使用`create-react-app --scripts-version=react-scripts-ts`创建的空项目 使用readme的代码 编译时出现的问题 ``` "dependencies": { "react": "^16.2.0", "react-dom": "^16.2.0", "react-scripts-ts": "2.10.0", "react-uwp": "^1.1.8" }, "scripts": { "start": "react-scripts-ts start", "build": "react-scripts-ts build", "test": "react-scripts-ts test...

## **Describe the bug (required)** / **详细描述 bug(必填)** ``` TypeError: Cannot read property 'symbol' of undefined at getDocgenTypeHelper (/Users/xxx/Code/low-code/low-code-engine/node_modules/.pnpm/@[email protected]/node_modules/@alilc/lowcode-material-parser/lib/parse/ts/index.js:204:14) at getFunctionReturns (/Users/xxx/Code/low-code/low-code-engine/node_modules/.pnpm/@[email protected]/node_modules/@alilc/lowcode-material-parser/lib/parse/ts/index.js:46:22) at getDocgenTypeHelper (/Users/xxx/Code/low-code/low-code-engine/node_modules/.pnpm/@[email protected]/node_modules/@alilc/lowcode-material-parser/lib/parse/ts/index.js:304:26) at MyParser.getDocgenType (/Users/xxx/Code/low-code/low-code-engine/node_modules/.pnpm/@[email protected]/node_modules/@alilc/lowcode-material-parser/lib/parse/ts/index.js:360:24) at /Users/xxx/Code/low-code/low-code-engine/node_modules/.pnpm/[email protected][email protected]/node_modules/react-docgen-typescript/lib/parser.js:429:25...

WIP

我测过了,这段代码可以 ``` const astralData={} const tags = Object.keys(astralData).reduce((result, key) => { return [...result, ...astralData[key].tags.map(t => t)] }, []).filter((value, index, self) =>{ return self.findIndex(t=>t.name===value.name) === index; }) const result = {...

跨域时候请求似乎还是会打到服务器 但是服务器报了500错误,导致跨域请求还是失败了 有没有办法拦截Option请求,让响应码总是200

有些包没有设置地址, 找源码比较麻烦. 比如`@alilc/lowcode-material-parser`

good first issue

## **Describe the bug (required)** / **详细描述 bug(必填)** 在预览时,容器组件会默认地给children设置一个null --- ## **To Reproduce (required)** / **如何复现 bug?(必填,非常重要)** Steps to reproduce the behavior: / 详细复现步骤: 用antd场景,拖入一个卡片,点击预览 生成Schema如下,并没有children属性 ![图片](https://user-images.githubusercontent.com/18695431/191181658-87d080be-0abf-4bc9-a7ec-712cddb3c2a9.png) 而预览时,多了children:null ![图片](https://user-images.githubusercontent.com/18695431/191181773-d8d08e9a-691e-4814-9afb-6e0ad89fc515.png) 期望不要有...