Browse Source

树节点点击修改

zhongxiaoyu 3 years ago
parent
commit
5e4830d6b2

+ 1 - 1
src/store/modules/user.js

@@ -103,7 +103,7 @@ const actions = {
 
   // user logout
   logout ({ commit, state }) {
-    console.log(state)
+    // console.log(state)
     return new Promise((resolve, reject) => {
       loginUp({ "UserId": state.UserId, "UserType": state.UserType }).then(result => {
         sessionStorage.removeItem("userName");

+ 2 - 2
src/views/accountGroupManagement/components/accountGroupHome.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2022-01-08 09:27:43
- * @LastEditTime: 2022-03-23 16:00:26
+ * @LastEditTime: 2022-03-24 10:49:51
  * @LastEditors: your name
  * @Description: 用户组管理
  * @FilePath: \Foshan4A2.0\src\views\accountGroupManagement\components\home.vue
@@ -239,7 +239,7 @@ export default {
     },
     currentKey: {
       handler (val) {
-        if (typeof val !== 'number') {
+        if (typeof val === 'object' && !val) {
           return
         }
         this.$nextTick(() => {

+ 2 - 2
src/views/authorityManagement/components/authorityHome.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2021-11-29 09:27:43
- * @LastEditTime: 2022-03-23 15:59:27
+ * @LastEditTime: 2022-03-24 10:49:35
  * @LastEditors: your name
  * @Description: 权限管理
  * @FilePath: \Foshan4A2.0\src\views\authorityManagement\components\home.vue
@@ -215,7 +215,7 @@ export default {
     },
     currentKey: {
       handler (val) {
-        if (typeof val !== 'number') {
+        if (typeof val === 'object' && !val) {
           return
         }
         this.$nextTick(() => {

+ 2 - 2
src/views/organizationManagement/components/organizationHome.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2021-11-29 09:27:43
- * @LastEditTime: 2022-03-23 16:31:35
+ * @LastEditTime: 2022-03-24 10:48:49
  * @LastEditors: your name
  * @Description: 权限管理
  * @FilePath: \Foshan4A2.0\src\views\authorityManagement\components\home.vue
@@ -255,7 +255,7 @@ export default {
     },
     currentKey: {
       handler (val) {
-        if (typeof val !== 'number') {
+        if (typeof val === 'object' && !val) {
           return
         }
         this.$nextTick(() => {

+ 0 - 1
src/views/systemManagement/EditSystem/index.vue

@@ -299,7 +299,6 @@ export default {
     keyWordsUp: {
       handler(val) {
         if (val.length == 0) {
-          console.log(this.FormData)
           this.FormData.UseList = this.FormData.UseLists;
         }
       }