From 5b2095a1366ebb1c33095894ccfe15a74fa5195c Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期二, 09 四月 2024 22:00:46 +0800
Subject: [PATCH] Merge branch 'master' of http://www.beijingsoft.cn:9090/r/smart-web
---
src/views/master/person/main/index.vue | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/views/master/person/main/index.vue b/src/views/master/person/main/index.vue
index d42cca0..3c5359e 100644
--- a/src/views/master/person/main/index.vue
+++ b/src/views/master/person/main/index.vue
@@ -2,7 +2,7 @@
* @Author: lzhe lzhe@example.com
* @Date: 2024-03-26 10:28:33
* @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-03-28 18:20:25
+ * @LastEditTime: 2024-04-09 20:12:59
* @FilePath: /smart-web/src/views/master/person/main/index.vue
* @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
@@ -10,13 +10,13 @@
<div class="person-main">
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="鍛樺伐" name="first">
- <person-person></person-person>
+ <person-person v-if="activeName == 'first'"></person-person>
</el-tab-pane>
<el-tab-pane label="宀椾綅" name="second">
- <person-post></person-post>
+ <person-post v-if="activeName == 'second'"></person-post>
</el-tab-pane>
<el-tab-pane label="閮ㄩ棬" name="third">
- <person-department></person-department>
+ <person-department v-if="activeName == 'third'"></person-department>
</el-tab-pane>
</el-tabs>
</div>
@@ -43,7 +43,7 @@
},
methods: {
handleClick(tab, event) {
- console.log(tab, event);
+ console.log(tab.props.label, this.activeName);
}
}
}
--
Gitblit v1.9.3