From fd8e1acbc8bac690c020248b806fc4f06af1792e Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 26 Aug 2021 15:36:58 +0800
Subject: [PATCH] 禁止输入逻辑

---
 src/components/attach/attach.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/attach/attach.vue b/src/components/attach/attach.vue
index 73d56ba..6d544bb 100644
--- a/src/components/attach/attach.vue
+++ b/src/components/attach/attach.vue
@@ -24,7 +24,7 @@
           size="small"
           plain
           icon="el-icon-upload2"
-          v-if="canDoIt"
+          v-if="opens"
           @click="handleUpload"
           >上 传
         </el-button>
@@ -33,7 +33,7 @@
           size="small"
           icon="el-icon-delete"
           plain
-          v-if="canDoIt"
+          v-if="opens"
           @click="handleDelete"
           >删 除
         </el-button>
@@ -90,7 +90,7 @@
 import { mapGetters } from "vuex";
 
 export default {
-  props: ["type"],
+  props: ["type", "opens"],
   data() {
     var type = this.type;
     var deptid = this.$route.query.deptId;

--
Gitblit v1.9.3