From aa2e71d1bbbd05a6eff9f2b1be724291ad4f3bf6 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Thu, 26 Aug 2021 15:43:48 +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