@gm-pc/react 1.24.9-beta.12 → 1.24.9-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gm-pc/react",
3
- "version": "1.24.9-beta.12",
3
+ "version": "1.24.9-beta.14",
4
4
  "description": "观麦前端基础组件库",
5
5
  "author": "liyatang <liyatang@qq.com>",
6
6
  "homepage": "https://github.com/gmfe/gm-pc#readme",
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@gm-common/hooks": "^2.10.0",
26
26
  "@gm-common/tool": "^2.10.0",
27
- "@gm-pc/locales": "^1.24.9-beta.12",
27
+ "@gm-pc/locales": "^1.24.9-beta.14",
28
28
  "big.js": "^6.0.1",
29
29
  "classnames": "^2.2.5",
30
30
  "lodash": "^4.17.19",
@@ -48,5 +48,5 @@
48
48
  "react-router-dom": "^5.2.0",
49
49
  "react-window": "^1.8.5"
50
50
  },
51
- "gitHead": "88c744433b1f490d3fc7fed978e8b303d7723fef"
51
+ "gitHead": "00c9b30ab0b492a57273126591b003ca2f3dce1b"
52
52
  }
@@ -9,6 +9,7 @@ import { ListDataItem } from '../../types'
9
9
  import { judgeFunction } from '../../common/utils'
10
10
  import { ConfigConsumer, ConfigProvider } from '../config_provider'
11
11
  import { ConfigProviderProps, FontSizeType } from '../config_provider/config_provider'
12
+ import { getLocale } from '@gm-pc/locales'
12
13
 
13
14
  interface SelectState {
14
15
  willActiveIndex: number
@@ -99,7 +100,7 @@ class Select<V = any> extends Component<SelectProps<V>, SelectState> {
99
100
  const { willActiveIndex } = this.state
100
101
 
101
102
  const zeroItem = ({
102
- text: '全部',
103
+ text: getLocale('全部'),
103
104
  value: 0,
104
105
  } as unknown) as ListDataItem<V>
105
106
  if (_.isObject(all)) {