From 1c1000a93a88b5af5eabbf410aa264b0911dbee4 Mon Sep 17 00:00:00 2001 From: cuikaidong <ckd2942379034@163.com> Date: 星期二, 29 七月 2025 14:18:58 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/tms/WarehouseTree.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/tms/WarehouseTree.vue b/src/views/tms/WarehouseTree.vue index e9a92d7..490df2f 100644 --- a/src/views/tms/WarehouseTree.vue +++ b/src/views/tms/WarehouseTree.vue @@ -2,7 +2,7 @@ <a-card :loading="cardLoading" :bordered="false" - title="浠撳簱绠$悊" + :title="title" style="height: 100%;" > <a-spin :spinning="loading"> @@ -160,7 +160,13 @@ components: { Tooltip, }, - props: ['value'], + props: { + value: {}, + title: { + type: String, + default: '' + } + }, data() { return { searchInput: '', @@ -295,11 +301,9 @@ }, mounted() { this.$bus.$on('queryTreeData', this.queryTreeData); - this.$bus.$on('clearTreeSelection', this.onClearSelected) }, beforeDestroy() { this.$bus.$off('queryTreeData', this.queryTreeData); - this.$bus.$off('clearTreeSelection', this.onClearSelected) }, //鐩戝惉 watch: { -- Gitblit v1.9.3