htui-yllkbz 1.3.57 → 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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "htui-yllkbz",
3
- "version": "1.3.57",
3
+ "version": "1.3.58",
4
4
  "port": "8082",
5
5
  "typings": "types/index.d.ts",
6
6
  "main": "lib/htui.common.js",
@@ -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 {