docs: update common.md

This commit is contained in:
刘菊萍(絮黎) 2023-04-24 14:06:17 +08:00 committed by 林熠
parent 358dde43a4
commit ebc137d118

View File

@ -95,6 +95,17 @@ common.utils.startTransaction(() => {
}, IPublicEnumTransitionType.repaint);
```
#### getConvertedExtraKey
props key 转化工具
```typescript
getConvertedExtraKey(key: string): string
```
**@since v1.0.17**
#### createIntl
i18n 相关工具
```typescript
@ -144,4 +155,4 @@ const { intl, getLocale, setLocale } = common.utils.createIntl({
* get Workbench Component
*/
get Workbench(): Component;
```
```