diff --git a/src/components/searchForm/index.vue b/src/components/searchForm/index.vue
index 6b15489..48acf33 100644
--- a/src/components/searchForm/index.vue
+++ b/src/components/searchForm/index.vue
@@ -21,7 +21,7 @@
>{{ option.name }}
-
+
查询
@@ -42,7 +42,7 @@ export default {
this.itemList = val
let obj = {}
for(let k of val){
- if(k.type==='time'){
+ if(k.type === 'time'){
obj[k.start] = undefined
obj[k.end] = undefined
}else{
diff --git a/src/views/Basic/Authority/depend/permissions.vue b/src/views/Basic/Authority/depend/permissions.vue
index 9746b16..3e0f8fd 100644
--- a/src/views/Basic/Authority/depend/permissions.vue
+++ b/src/views/Basic/Authority/depend/permissions.vue
@@ -129,8 +129,10 @@ export default {
},
defaultCheck(arr) {
for (let item of arr) {
- if (item.isShow === true && item.childrenList !== null) {
- this.checkedKeys.push(item.id);
+ if (item.childrenList !== null) {
+ if(item.isShow === true){
+ this.checkedKeys.push(item.id);
+ }
this.defaultCheck(item.childrenList);
} else if (item.isShow === true) {
this.checkedKeys.push(item.id);
diff --git a/src/views/Basic/Authority/index.vue b/src/views/Basic/Authority/index.vue
index 32619bc..606aeb8 100644
--- a/src/views/Basic/Authority/index.vue
+++ b/src/views/Basic/Authority/index.vue
@@ -1,6 +1,6 @@
-
+
@@ -91,7 +91,7 @@
-
+