htui-yllkbz 1.3.19 → 1.3.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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "htui-yllkbz",
3
- "version": "1.3.19",
3
+ "version": "1.3.20",
4
4
  "typings": "types/index.d.ts",
5
5
  "main": "lib/htui.common.js",
6
6
  "style": "lib/htui.css",
@@ -234,6 +234,17 @@ export default class CommonDatas extends Vue {
234
234
  if (this.baseDataId) {
235
235
  const tempText = this.setAllLevel(this.baseDataId);
236
236
  this.state.text = tempText;
237
+ } else {
238
+ this.state.text = "";
239
+ }
240
+ }
241
+ @Watch("baseDataId")
242
+ getText(val: string) {
243
+ if (val && this.baseDataItem) {
244
+ const tempText = this.setAllLevel(val);
245
+ this.state.text = tempText;
246
+ } else {
247
+ this.state.text = "";
237
248
  }
238
249
  }
239
250