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;