htui-yllkbz 1.3.52 → 1.3.54
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/htui.common.js +38 -28
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.css +1 -1
- package/lib/htui.umd.js +38 -28
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +4 -4
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/packages/HtBaseData/index.vue +10 -4
package/lib/htui.umd.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -874,11 +874,17 @@ export default class CommonDatas extends Vue {
|
|
|
874
874
|
cur.childrenList = [];
|
|
875
875
|
if (cur.users) {
|
|
876
876
|
cur.users.map((item) => {
|
|
877
|
-
item.
|
|
878
|
-
|
|
879
|
-
|
|
877
|
+
if (item.userName) {
|
|
878
|
+
item.name = item.userName;
|
|
879
|
+
} else {
|
|
880
|
+
if (item.displayName) {
|
|
881
|
+
item.name = item.displayName;
|
|
882
|
+
} else {
|
|
883
|
+
item.name = `${item.surname || ''}${item.name || ''}`;
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
item.displayName = item.name;
|
|
880
887
|
item.childrenList = undefined;
|
|
881
|
-
|
|
882
888
|
return item;
|
|
883
889
|
});
|
|
884
890
|
}
|