Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheney committed Sep 16, 2020
1 parent f0ad88e commit 0ba0fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2020-08-24-arts3.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ keywords: ARTS, 前端, leetCode

- 使用`mobx-react``@inject("store") @observer`包裹组件后,通过ref取被包裹组件上的方法/属性:`this.refs.XXXXXXXXRef.wrappedInstance.open(record)`(在被包裹组件内部调用store中的方法或者直接使用解构语法,貌似会导致store中方法的this丢失),常规:`this.refs.XXXXXXXXRef.open(record)`

- 使用create-react-app创建项目后,kun平台build部署报错:打开项目package.json ,将less版本降到3.0以下 比如安装 2.7.3版本`yarn add less@^2.7.3`
- 使用create-react-app创建项目后,kun平台build部署报错:打开项目package.json ,将less版本降到3.0以下 比如安装 2.7.3版本(`yarn add less@^2.7.3`,也可参考[issues](https://github.com/ant-design/ant-motion/issues/44){:target='_blank'}。
```js
Creating an optimized production build...
Failed to compile.
Expand Down

0 comments on commit 0ba0fdc

Please sign in to comment.