From 0c779fb73aa2906abc8a5da3e84efe2cd971b789 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 16 Oct 2024 16:33:04 +0800
Subject: [PATCH] 页面加载后不显示结果
---
src/views/device/components/devicePerShare.vue | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/views/device/components/devicePerShare.vue b/src/views/device/components/devicePerShare.vue
index 0151ddd..3202655 100644
--- a/src/views/device/components/devicePerShare.vue
+++ b/src/views/device/components/devicePerShare.vue
@@ -179,6 +179,8 @@
() => {
this.initFlag = false;
this.onLoad(this.page);
+ // 刷新机构树
+ this.getDeptTreeInfo();
this.$message({
type: 'success',
message: '操作成功!',
@@ -218,6 +220,8 @@
return remove(row.id);
})
.then(() => {
+ // 刷新机构树
+ this.getDeptTreeInfo();
this.onLoad(this.page);
this.$message({
type: 'success',
--
Gitblit v1.9.3