eoss-ui 0.4.19 → 0.4.20

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": "eoss-ui",
3
- "version": "0.4.19",
3
+ "version": "0.4.20",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -4077,7 +4077,7 @@ export default {
4077
4077
  id.substring(10, 12) +
4078
4078
  '-' +
4079
4079
  id.substring(12, 14);
4080
- let sex = parseInt(id.substr(16, 2)) % 2 === 1 ? '男' : '女';
4080
+ let sex = parseInt(id.substr(16, 1)) % 2 === 1 ? '男' : '女';
4081
4081
  let ageDate = new Date();
4082
4082
  let month = ageDate.getMonth() + 1;
4083
4083
  let day = ageDate.getDate();
package/src/index.js CHANGED
@@ -113,7 +113,7 @@ if (typeof window !== 'undefined' && window.Vue) {
113
113
  }
114
114
 
115
115
  export default {
116
- version: '0.4.19',
116
+ version: '0.4.20',
117
117
  install,
118
118
  Button,
119
119
  ButtonGroup,