From 122907b58b9b8faa7693f1bb60648c41bc828adf Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 27 Aug 2021 09:03:04 +0800
Subject: [PATCH] 关闭 按钮调整  查询刷新

---
 src/views/home/index.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index 9927a3c..b40d041 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -129,12 +129,11 @@
                     // console.log("申请状态:", item.type);
                     for (var k in this.canDoIt) {
                       if (this.canDoIt[k].type == item.ptype) {
+                        this.$store.commit("changecanDoIt", {
+                          o: true,
+                          ptype: item.ptype,
+                        });
                         if (item.type == 0 || item.type == 2) {
-                          this.$store.commit("changecanDoIt", {
-                            o: false,
-                            ptype: item.ptype,
-                          });
-                        } else {
                           this.$store.commit("changecanDoIt", {
                             o: false,
                             ptype: item.ptype,

--
Gitblit v1.9.3