htui-yllkbz 1.3.56 → 1.3.58
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 +36 -36
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.css +1 -1
- package/lib/htui.umd.js +36 -36
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +3 -3
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/packages/HtSelectBaseData/index.vue +2 -3
- package/src/packages/HtShowBaseData/index.vue +3 -3
package/lib/htui.umd.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @Author: hutao
|
|
5
5
|
* @Date: 2021-12-30 15:47:47
|
|
6
6
|
* @LastEditors: hutao
|
|
7
|
-
* @LastEditTime: 2022-09-15
|
|
7
|
+
* @LastEditTime: 2022-09-15 10:04:16
|
|
8
8
|
-->
|
|
9
9
|
|
|
10
10
|
<template>
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
</template>
|
|
33
33
|
<div v-else>
|
|
34
34
|
<HtShowBaseData
|
|
35
|
-
v-if="value !== undefined && value !== null"
|
|
36
35
|
:hide-code="hideCode"
|
|
37
36
|
:show-all-level="showAllLevels"
|
|
38
37
|
:base-data-id="value"
|
|
@@ -41,7 +40,7 @@
|
|
|
41
40
|
style="font-size:12px"
|
|
42
41
|
>
|
|
43
42
|
</HtShowBaseData>
|
|
44
|
-
|
|
43
|
+
|
|
45
44
|
<!-- <div is='common-datas-info-id'
|
|
46
45
|
com-style="font-size:12px"
|
|
47
46
|
v-if="this.value"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
</span>
|
|
26
26
|
</template>
|
|
27
27
|
<!-- 基础数据,以id查找 -->
|
|
28
|
-
<template v-if="baseDataId">
|
|
28
|
+
<template v-if="baseDataId !== undefined && baseDataId !== null">
|
|
29
29
|
<span class="item" v-if="baseDataItem[baseDataId]">
|
|
30
30
|
<!-- {{ baseDataItem[baseDataId].name || empty }}
|
|
31
31
|
<span v-if="baseDataInfo&&!hideCode">
|
|
@@ -222,7 +222,7 @@ export default class CommonDatas extends Vue {
|
|
|
222
222
|
}
|
|
223
223
|
@Watch('baseDataItem')
|
|
224
224
|
setText() {
|
|
225
|
-
if (this.baseDataId) {
|
|
225
|
+
if (this.baseDataId !== undefined && this.baseDataId !== null) {
|
|
226
226
|
const tempText = this.setAllLevel(this.baseDataId);
|
|
227
227
|
this.state.text = tempText;
|
|
228
228
|
} else {
|
|
@@ -231,7 +231,7 @@ export default class CommonDatas extends Vue {
|
|
|
231
231
|
}
|
|
232
232
|
@Watch('baseDataId')
|
|
233
233
|
getText(val: string) {
|
|
234
|
-
if (val && this.baseDataItem) {
|
|
234
|
+
if (val !== undefined && val !== null && this.baseDataItem) {
|
|
235
235
|
const tempText = this.setAllLevel(val);
|
|
236
236
|
this.state.text = tempText;
|
|
237
237
|
} else {
|