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/lib/eoss-ui.common.js +9 -9
- package/lib/form.js +3 -3
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/packages/form/src/main.vue +1 -1
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -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,
|
|
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();
|